Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Scene Color node completely gray

Discussion in 'Shader Graph' started by JTDotz, Oct 23, 2019.

  1. JTDotz

    JTDotz

    Joined:
    Aug 15, 2017
    Posts:
    3
    I'm new to shaders and lighting and whatnot, but no matter what I try, it seems like the output of the Scene Color node is always flat gray.

    I'm using the default LWRP settings, the default Sample Scene, and a plane above the entire thing that I'm trying to use a shader to make transparent (to eventually add cooler effects). To this end, I created PBR Graph with Scene Color going directly into the Albedo. As I understand it, that should make the plane completely transparent, regardless of other settings. Is this wrong, or is there actually something weird going on?

    Edit: Okay, I figured that out, I had to set the PBR Master Node Surface type to Transparent, and use the Screen Position Node's output as the UV for Scene Color. But now I have another weird problem that should probably be its own post.
     
    Last edited: Oct 23, 2019
  2. SimpleModelsForMe

    SimpleModelsForMe

    Joined:
    Sep 21, 2013
    Posts:
    1
    i have done this same thing as what your answer was before finding this and my plane is still just all greyed out i got it working in hdrp but not lwrp
     
    viesc123 likes this.
  3. viesc123

    viesc123

    Joined:
    Dec 17, 2016
    Posts:
    12