Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    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.