Search Unity

Question Scene color node not working properly

Discussion in 'Shader Graph' started by GreenPhotonRays, Jun 29, 2022.

  1. GreenPhotonRays

    GreenPhotonRays

    Joined:
    Feb 25, 2022
    Posts:
    11
    Hey There,
    I am starting to learn about shaders in unity and shader graph, so I can make my games visually better, so I experimented a little bit with the scene color node in order to get some kind of cartoon (cel) shader. Of course it didn't work at my first try, so I analysed every part of my small shader in shader graph and came to a conclusion, that the scene color node was causing the trouble. When I added only the Scene color node to the color output, I got some kind of black color that gets kind of blurry when you look arount (in-game aswell as in the scene view). I searched for a solution on my problem and every youtube video, guide, etc. said I just had to put the master node Surface type tp transparent or check the opaque texture box in the urp asset. I also tried to set the opaque texture dropdown menu from the camera to "on", instead of "use pipeline Settings", but all of these methods didn't work. Do you have any ideas?


    This is without the shader applied:
    shader not applied.PNG
    This is with the shader applied:
    shader applied.PNG

    This is the shader:
    shader graph.PNG
     
    opexu1986 likes this.