
Players incorrectly lit with RTAO and SSGI when not affected by ambient light
Deevian opened this issue ยท 2 comments
Players are incorrectly lit (i.e. not lit at all) when using RTAO or SSGI and when not affected by ambient light.
In other words: when in caverns (e.g.), players appear completely black:
On the surface, they're correctly lit, though not affected by torches or other sources of light:
Other entities, such as bats or zombies, appear to be correctly lit in caverns; this seems to only affect the player character.
Tracked down the cause to this commit (though by the size of it, it might not help narrow down the cause ๐):
For context, here is how it looked before that version:
Might be related to this:
Removing that line mostly fixes the issue:
Hand torches are still not correctly emitting light, but that's probably unrelated to the issue described here.