Search Unity

Help Wanted Colour artifacts when using Shader Graph on quads

Discussion in 'Shader Graph' started by SmolPadok, Jan 22, 2020.

  1. SmolPadok


    Nov 25, 2016
    Hello everyone. I would like to seek help and advice on this shader problem I'm facing.

    I made this tree using the built-in unity tree creator for the wooden part. Then I used quads to make the leaves and created a leafy shader using Shader Graph. The leaves looked the way I wanted, but when it is put into a lighted environment, it revealed these strange artifacts. I used the Sprite Lit Shader Graph to create the shader.
    Screen Shot 2020-01-22 at 9.59.15 PM.png

    This is tree in an unlit environment, the way I wanted it to look.
    Screen Shot 2020-01-22 at 9.59.31 PM.png

    This is the Shader Graph for the leaves.
    Screen Shot 2020-01-22 at 10.01.29 PM.png

    Attempts made:
    - Using planes instead of quads: Similar result
    - Using Sprite Unlit Shader instead of Lit: Similar result

    Version: Unity 2019.2.18f1
    Render Pipeline: LWRP

    Any help is very much appreciated. Thank you for your time.