StrataSource / Engine

Issue tracker for Strata Source
https://stratasource.org
48 stars 2 forks source link

Bug: Ambient Occlusion in PBR affected differently by baked lightings & projected textures. #1068

Open November-N opened 10 months ago

November-N commented 10 months ago

Describe the bug

image test.zip Projected textures and baked lights interact with PBR Ambient Occlusion differently. Similarly bright surfaces can look completely different under a baked light and a projected texture.

To Reproduce

  1. Included is a map, but this is visible in any map with both projected textures and PBR materials.
  2. The ambient occlusion will be fully visible under baked lighting, but disappear under projected textures, despite them being of similar brightness.

Issue Map

Example map is included, any map with projected textures and PBR materials.

Expected Behavior

They should be visually consistent.

Operating System

No response

JJL772 commented 10 months ago

I wonder how this behaves with CSM, I imagine AO is still in full effect with it. Makes sense that it behaves like that with lightmaps, there's no separation between direct and indirect lighting.