Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How do I make a custom shader in "Fade" RenderMode?

Discussion in 'Shaders' started by jackson31, Mar 5, 2015.

  1. jackson31

    jackson31

    Joined:
    Aug 25, 2010
    Posts:
    28
    The Unity5 Standard shader has a few render modes, Fade is the closest to what I want to modify/build off.
    How do I set up a custom Unity5 shader to have transparency in this "Fade" style

    Ultimately what I'm trying to make is a Transparent shader for hair which is considered geometry/masked by effects like DoF and also casts and receives shadows.
    These are all very standard things to want out of a Transparent shader, for purposes like character hair, it's a shame Unity5 didn't come with one...
     
  2. jackson31

    jackson31

    Joined:
    Aug 25, 2010
    Posts:
    28
    bump.
    Why does pretty much ever thread on this forum just get ignored or replaced with a new thread about the exact same thing... where are the unity team? Why wont they help?
     
  3. judgementAlex

    judgementAlex

    Joined:
    Sep 9, 2013
    Posts:
    28
    #pragma surface surf Standard alpha:fade
     
    madebynoxc, tbr and jethrogillgren like this.