Search Unity

Question Main Light Not Working

Discussion in 'Shader Graph' started by WhiteNightFOXX, Jun 3, 2023.

  1. WhiteNightFOXX

    WhiteNightFOXX

    Joined:
    Jan 26, 2015
    Posts:
    2
    Hello,
    I'm very new to Unity and just followed some tutorials. However, now I am working with shader graphs and it seems like when I add the "Main Light" Node it's just black, which it shouldn't be. Do I need to define my directional light as a main light, or do something with it all?
    Any help would be appreciated. If more Info is needed, which I'm sure is, I'll be happy to share.



    Cheers
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,059
    Try to make a shader and then see if it works or not. The preview being black might not be an issue