Search Unity

Light Layers on Volumetric Skybox Lighting Issue

Discussion in 'High Definition Render Pipeline' started by EGSDarknuke, Oct 26, 2020.

  1. EGSDarknuke

    EGSDarknuke

    Joined:
    Dec 6, 2012
    Posts:
    16


    I no lights in this scene. Just the Skybox dynamic lighting that is occurring. This black hole is being lit by the skybox, which obviously doesn't look right. Problem is I can't figure out how to apply light layers to the skybox, so it doesn't light my black hole.

    Is there a way I can get this object to not be lit by my skybox?

    Thank you

    EDIT: I fixed it. I'm dumb. I just had to change from a PBR Graph to an HDRP Unlit Graph. A normal unlit graph does not have Emission as an option so I couldn't use that one. For HDRP Unlit, I had to change the color from white to pure black. That made it work flawlessly.
     
    Last edited: Nov 2, 2020
  2. pierred_unity

    pierred_unity

    Unity Technologies

    Joined:
    May 25, 2018
    Posts:
    433
    Hey, why not use an unlit shader?
     
    Last edited: Oct 26, 2020
  3. EGSDarknuke

    EGSDarknuke

    Joined:
    Dec 6, 2012
    Posts:
    16
    That's a good idea, but how do I make a custom hdrp shader unlit? I know very little about shader graph and shaders in general.

    Edit: Also, I'm using PBR Shader Graph. I see why you said to simply use the unlit shader now. How do I get shader graph on an unlit shader? I assumed you could only use code.
     
    Last edited: Oct 28, 2020