Hair with Anisotropy
- ダウンロード商品Regular¥ 0
- ダウンロード商品Regular (Donation/寄付)¥ 1,000
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.