GridVids
Sign in with YouTube

Voxel Occlusion Culling Test

Jed037 Jul 21, 2025 03:19
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Simple test for an occlusion culling implementation using CPU side DDA. This could've easily been written on the GPU using compute shaders but doing the culling (hiding / showing the entities) on the GPU would require an entire rewrite and having to deal with the GPU persistent drawer, which I did not want to deal with. For now this just disables or enables the MaterialMeshInfo component on the chunk entities based on whether or not they are occluded by LOD0 chunks in the DDA rasterized pass. It is unstable as hell; but I'm going to try making it less conservative in terms of culling in order to reduce the false-positives. Also very slow as well but hopefully could beat the price of having to render overdrawn chunks.
Science & Technology