godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.34k stars 21.06k forks source link

[3.2.4.rc] [Linux] Dynamic directional lighting glitch in certain 3d translations #45647

Closed lewiji closed 3 years ago

lewiji commented 3 years ago

Godot version: 3.2.4.rc.custom_build.19ff78c

OS/device including version: Arch Linux, kernel 5.10.12, Nvidia 2080 SUPER proprietary driver 460.39, GLES3.

Issue description: In 3.2.3 stable, no lighting issues were found in a scene with a large GridMap and one DirectionalLight. In 3.2.4rc, with BVH on or off, certain positions/areas in game will cause the lighting to glitch and become overexposed or even look like a negative light, with large black blobs. Screen captures below:

https://user-images.githubusercontent.com/233380/106524529-9b889600-64da-11eb-90ab-a9041e5e7e30.mp4

https://user-images.githubusercontent.com/233380/106524547-9f1c1d00-64da-11eb-96f0-0f3472945317.mp4

Steps to reproduce:

Uncertain. Possibly relevant settings:

So far I haven't been able to recreate this outside of my game project but if I narrow it down I will upload a reproduction project.

lewiji commented 3 years ago

Last night I updated my custom build to the latest 3.2 (4211cb3dc at the time) and I'm no longer seeing this issue. Thanks all