godotengine / godotengine/godot
ReflectionProbe has flickering artifacts in bright specular reflections
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.6-stable
I also tested https://github.com/godotengine/godot/commit/bf95b62586e31b8a3503f5903d7764d7c52bf2ab (latest master branch as of writing)
Update: The most recent version I tested is https://github.com/godotengine/godot/commit/2327a823578a30f09068f97272598521896d5633
The artifacts also appear in 4.5.1-stable, but seem to be much less bright.
This issue occurs when using Vulkan or D3D12 with the Forward+ renderer
### System information
I tested 4.6, https://github.com/godotengine/godot/commit/2327a823578a30f09068f97272598521896d5633 and https://github.com/godotengine/godot/commit/bf95b62586e31b8a3503f5903d7764d7c52bf2ab on my PC:
Windows 11 (build 26200) - Multi-window, 1 monitor - dedicated NVIDIA GeForce RTX 5070 Ti (NVIDIA; 32.0.15.9144) - Intel(R) Core(TM) i9-14900KF (32 threads) - 31.79 GiB memory
I tested 4.6 and 4.5.1 on my laptop:
Windows 11 (build 26100) - Multi-window, 1 monitor - dedicated NVIDIA GeForce GTX 1650 with Max-Q Design (NVIDIA; 31.0.15.3892) - Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 threads) - 15.59 GiB memory
### Issue description
When using a reflection probe, the specular reflections on reflected objects appear extremely bright, and cause flickering artifacts.
I built a simple test scene to show the issue. I have attached 2 spheres and a reflection probe. Below the spheres, I've placed a metallic torus. You can see that the specular reflections on the torus create extremely bright artifacts on the spheres. These artifacts appear to be brighter than direct sunlight.
The torus is only affected by the default editor lighting.
https://github.com/user-attachments/assets/90894e34-e402-460d-a9a9-37ef3778de07
### Steps to reproduce
I suggest you look at the MRP, but it's easiest to reproduce this issue if the object causing the artifacts (the torus in this case) has a curved surface. Changing the angular distance of the directional light also makes the issue significantly more visible.
### Minimal reproduction project (MRP)
[reflectionprobe-artifacts.zip](https://github.com/user-attachments/files/25328785/reflectionprobe-artifacts.zip)
Contributor guide
Assessment
This issue has not been assessed yet.