Skip to content

Fix depth peeling occlusion query

When all translucent fragments are in front of opaque fragments, the depth peeling algorithm was exiting early after the first peel.
This commit fixes this issue enforcing the depth peeling to draw a second peel where the occlusion query works as intended.

Edited by Michael Migliore

Merge request reports