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
Windows 10, Vulkan, GeForce GTX 1070 driver ver. 512.15
Issue description
A large object being occluded by another large object will be incorrectly culled with occlusion culling when viewed almost off screen. I would expect that the object be fully occluded before being culled.
This seems to not happen so long as the face of the occluder that is perpendicular to the object being occluded is not visible. The face colored red below is what I am referring to.
The issue also seems to only happen when the objects cover the whole screen, though this is not entirely the case for the second video I've provided.
Here is a video from a test project:
issue.mp4
Here is a video from a personal project where I first noticed the issue:
issue2.mp4
Steps to reproduce
Create two large cube meshes slightly offset from one another
Create Occluder Instance 3D and bake
Approach one of objects closely such that it partially covers the other object
Slowly move or rotate camera to occlude the other object
The object being occluded will (sometimes) be culled before it should be
I tried this on 3.5.1 stable using an occluder shape and a similar setup; however I could not reproduce it. Forgive me if I am missing something here, I never used occlusion culling in 3.x and I'm not entirely sure if I've set it up here to work as needed.
Godot version
v4.0.beta9.official
System information
Windows 10, Vulkan, GeForce GTX 1070 driver ver. 512.15
Issue description
A large object being occluded by another large object will be incorrectly culled with occlusion culling when viewed almost off screen. I would expect that the object be fully occluded before being culled.
This seems to not happen so long as the face of the occluder that is perpendicular to the object being occluded is not visible. The face colored red below is what I am referring to.
The issue also seems to only happen when the objects cover the whole screen, though this is not entirely the case for the second video I've provided.
Here is a video from a test project:
issue.mp4
Here is a video from a personal project where I first noticed the issue:
issue2.mp4
Steps to reproduce
Create two large cube meshes slightly offset from one another
Create Occluder Instance 3D and bake
Approach one of objects closely such that it partially covers the other object
Slowly move or rotate camera to occlude the other object
The object being occluded will (sometimes) be culled before it should be
Minimal reproduction project
Test.zip
The text was updated successfully, but these errors were encountered: