Godot Version
4.5
Question
I’ve noticed some weird lighting artifacting on the edges of my dark cave scene. When I approach an edge - lighting it with a Spotlight3D - the darkness seems to seep over the edge giving a very unnatural look. The light source also has shadows disabled. Has anyone seen this before and knows how to fix it?
Here’s the effect in question:
Thank you!
What happens if you enable shadows?
Thanks for the reply, unfortunately it doesn’t seem to change the effect.
Not sure I understand what exactly you mean by “darkness seeping over the edge”.
Sorry I struggle to phrase the issue, but the video shows it clearly.
It just looks like your light is badly positioned in respect to camera.
I have the light parallel with the camera both at the same position, is this not the best practice?
Depends on your camera rig and script code. Try to move/rotate the light at runtime and see what’s happening.
Thanks for taking the time to help, was struggling for hours on this but finally managed to fix it by adding a white ‘backlight’ to the materials on the walls/floors!