Stylized Hair Shader
Staggart Creations
$10.00
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/17(2018) |
10.0 |
11/27(2024) |
10.0 |
Jump AssetStore
Compatible with Unity 2017.2
[Forum thread]
[Documentation]
A stylized shader modeled after modern hair rendering techniques. Ideal for cartoony or anime aesthetics.
Supports Shader Model 3.0, OpenGLES2 and up.
Features:
• Custom material inspector, for ease of use
• Toon- or soft shading
• Simple or anisotropic specular highlight based on the Kajiya-Kay model
• Opaque or cutout rendering
• Double sided, front- or back face culling
• Directional Light lighting, or vertex lit (points lights)
• Shadow casting and receiving
Full shader parameter list can be found here
Written from the ground up to run fast on mobile devices. Where most operations are done on a per-vertex basis, making this shader very efficient. Various shader features can be disabled to aid performance.
Contents:
• Documentation
• Demo scene + head model (Creative Commons license)
• Stylized Hair Shader (fully commented source code)
• A sample anisotropic diffuse and normal map
For the best specular highlight, the UVs of your hair strands must be laid out vertically. Please view this topic in the documentation.
Due to the stylistic nature of the shader, indirect lighting (light probes, Enlighten) is not supported.