Search Unity

Issue 1174789 occurring in 2020.1.17+

Discussion in 'Shaders' started by sebj, Mar 22, 2021.

  1. sebj

    sebj

    Joined:
    Dec 4, 2013
    Posts:
    70
    Hi,

    We are encountering issue 1174789 (shaders with alpha blending not actually blending the alpha because the Generated Code sets the ColorMask to RGB).

    The tracker says this issue is fixed but it is trivial to re-create.

    Is there further information that isn't on that page? (E.g. that its only fixed under some conditions?)


    Steps to re-produce:

    1. Create a new project with 2020.1.17
    2. Create -> Shader -> Standard Surface Shader
    3. Add alpha:fade to line 17
    4. Save
    5. Select Shader and click Show generated code
    6. See the ColorMask RGB remains on line 18

    Kind regards,

    Sj
     
  2. sebj

    sebj

    Joined:
    Dec 4, 2013
    Posts:
    70
    Bump. If the issue is fixed, there must be a trick to getting this to work - what is it?