Search Unity

  1. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  2. Unity 2017.2 is now released.
    Dismiss Notice
  3. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  6. Unity 2017.3 beta is now available for download.
    Dismiss Notice

[Submitted] Stylized Hair Shader (Desktop/Mobile)

Discussion in 'Assets and Asset Store' started by Jonny10, Oct 6, 2017.

  1. Jonny10

    Jonny10

    Joined:
    Feb 18, 2015
    Posts:
    239
    [​IMG]
    [​IMG]
    [​IMG]

    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.

    Due to the stylistic nature of the shader, indirect lighting (light probes, Enlighten) is not supported.
     
    Last edited: Oct 6, 2017
    theANMATOR2b likes this.
  2. Jonny10

    Jonny10

    Joined:
    Feb 18, 2015
    Posts:
    239
    - Reserved for changelog -

    The package has been submitted and is waiting to be reviewed. It is priced at $10