mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
691854d589
Due to the low resolution of the occlusion buffer, small gaps between occluders can be closed and incorrectly occlude instances which should show through the gaps. To ameliorate this problem, this PR jitters the occlusion buffer over time, making it more likely an instance will be seen through a gap. This is used in conjunction with an occlusion timer per instance, to prevent instances flickering on and off rapidly. |
||
---|---|---|
.. | ||
engine.cpp | ||
engine.h | ||
project_settings.cpp | ||
project_settings.h | ||
SCsub |