You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using multiple omni 3d lights in a scene, surfaces are incorrectly shaded.
2 omni lights seem to be ok, but when a 3rd is added problems arise, and adding more than that just makes it worse.
Vulkan forward renderer is fine, so this exists in Vulkan mobile. I was getting a crash with opengl, so couldn't test it.
In the following video you can see with 3 lights, as I move the camera the cube surface shading changes. When the 4th omni is added and moved, each cube has strongly contrasted shading that shifts with the light.
Godot version
4.0 beta 8
System information
Windows 10 960m
Issue description
When using multiple omni 3d lights in a scene, surfaces are incorrectly shaded.
2 omni lights seem to be ok, but when a 3rd is added problems arise, and adding more than that just makes it worse.
Vulkan forward renderer is fine, so this exists in Vulkan mobile. I was getting a crash with opengl, so couldn't test it.
In the following video you can see with 3 lights, as I move the camera the cube surface shading changes. When the 4th omni is added and moved, each cube has strongly contrasted shading that shifts with the light.
mobile_omnis.mp4
Steps to reproduce
Minimal reproduction project
mobile_omni.zip