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

Bug Ambient occlusion map is affecting directional light

Discussion in 'High Definition Render Pipeline' started by customphase, May 25, 2020.

  1. customphase

    customphase

    Joined:
    Aug 19, 2012
    Posts:
    245
    AO map shouldnt affect the directional light, just like it doesnt affect point/spot lights. Heres an example with Ambient Occlusion remapping turned down to 0 to showcase the problem better. As you can see the directional light contribution is completely gone, but the point light on top of the cube works correctly.

    upload_2020-5-25_15-26-8.png

    Just to make it clear, these boxes sides are facing the directional light.

    upload_2020-5-25_15-30-54.png