Search Unity

Question How does Standard shader change from Opaque to Transparent?

Discussion in 'Shaders' started by GeriB, Sep 11, 2020.

  1. GeriB

    GeriB

    Joined:
    Apr 26, 2017
    Posts:
    192
    Trying to figure out how does Standard shader change from Opaque to Transparent?

    upload_2020-9-11_1-7-38.png

    As far as I know to do this you'll need to change the tags in the shader. But these are strings and looks like they can't be changes dynamically. So how does the Standard shader handle this?
     
  2. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
  3. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,336