Search Unity

Shader with an alpha property/variable

Discussion in 'Shaders' started by Orr10c, Sep 10, 2017.

  1. Orr10c

    Orr10c

    Joined:
    Sep 11, 2016
    Posts:
    45
    Hello!
    I've been working on a game recently and I need some help with something.
    I need a shader that has an alpha property to it (meaning transparency level) to do something like peaceable objects in the Rust game:

    The thing is, I know very little of creating shaders and therefore would really appreciate if someone shared a shader like that here.

    Thanks!!
     
  2. Orr10c

    Orr10c

    Joined:
    Sep 11, 2016
    Posts:
    45
    Nevermind I got it, just use the shader particles --> alpha blended and choose the right alpha value thanks :)
     
  3. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    9,051
    You can also use the fade option on the standard shader.
     
    theANMATOR2b likes this.