A transparent hair shader for Unity/VRchat that implements smooth dithered transparency and anisotropic highlights, reacting to lighting properly. Includes handling for baked lighting with an approximated light from light probes. To install, place the Shader/ folder with the shader into your Assets/ directory. Licensed under the MIT license. https://gitlab.com/s-ilent/hair-with-anisotropy For support or feedback, you can join the Discord. https://discord.gg/uHJx4g629K Usage This shader contains several options that govern the different aspects of the material. Cutout and Transparency Threshold These control the cutoff point for the hair's transparency and opacity. Raising cutout will make the transparent regions of the hair fully transparent. Lowering transparency threshold will make the opaque regions fully opaque. Use this to fine tune the appearance of hair transparency. Sharp Transparency When this is active, transparency will always be sharpened to a 2 pixel wide gradient. Use Energy Conservation When active, the brightness of the specular colour will darken the albedo. Use Specular Colour By default, the colour of hair shine is derived from the Albedo texture and the Metallic slider. When active, the Specular Colour property is used directly. Metallic The level of light absorption in the specular. (While hair isn't actually metallic, the absorption of light is related to conductivity.) Reflectivity Controls the strength of glossy reflections on the hair. Anisotropy Controls the direction of anisotropic highlights on the hair. The highlight direction always lies acros the mesh's tangents/bitangents. Tangent Shift This shifts the position of the specular highlight along the hair tangents and visually pushes it around. Gloss Power This controls the width of the specular highlights for the two seperate highlights on the hair. Tangent Shift Texture Allows specifying a seperate texture with a tangent shift pattern to make hair look less flat. Occlusion Specifies areas of the hair that are less reached by light, and more shaded.
MIT License Copyright (c) 2019 s-ilent Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
¥0
¥0
¥0
¥0
¥0
¥0
¥1,500
¥0
¥0
¥12,000
¥5,000