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

Directional Mode in lighting cause everything to be black and white

Discussion in 'Global Illumination' started by teddysgame, Aug 25, 2021.

  1. teddysgame

    teddysgame

    Joined:
    Jun 17, 2021
    Posts:
    10
    I am working on a tutorial.

    When I'm trying to bake lighting into the scene with directional mode, everything became a high contrast of black and white. The shadows are then turned yellow. I have no idea what went wrong. Is this working properly?

    With directional mode


    Without directional mode


    now that I am here, how can I achieved baked shadows with quality such as my realtime shadows (crisps and long) below? All the shadow detail in the surface of the baked moon surface and shadow is gone.



    My settings
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Which Unity version are you using? Does the issue reproduce when using the CPU Lightmapper?

    Regarding crisp shadows: you'd need to use mixed lighting in order to achieve that. Otherwise, you'd have to increase lightmap resolution considerably, which is not ideal.
     
  3. teddysgame

    teddysgame

    Joined:
    Jun 17, 2021
    Posts:
    10
    This is really strange.. I tried switching to CPU lightmapper, clear cache and rebuilt it. The issue is gone.

    HOWEVER, when I switch back to GPU lightmapper, I can no longer replicate the same white noise as before.

    I did not mess with the settings as well. But at least problem is gone.