Search Unity

Question Image doesn't appear in the Main Preview window in Shader Graph

Discussion in 'Shader Graph' started by Unitkiv, Jan 16, 2024.

  1. Unitkiv

    Unitkiv

    Joined:
    Jun 14, 2022
    Posts:
    71
    "For everyone using Unity 2020 where the main node is now split to a Vertex and Fragment node, you need to add a Split node to split the Combine out to show the Alpha Channel that can be linked to the Alpha channel in the Fragment Node. Steps are: 1. Add Split Node. 2. Link Combine RGBA(4) to Split In(4) 3. Link Combine RGBA(4) to Fragment Base Color(3) 4. Link Split A(1) to Fragment Alpha(1)"
    Because of the note above, I have set the Shader Graph editor like this:
    ShaderGraph.png

    But the Sprite won't display in the Main Preview window.