Implemented basic occlusions queries
This commit is contained in:
@@ -26,7 +26,9 @@ void taskMain(
|
||||
uint cull = p.cullingOffset + i;
|
||||
MeshletDescription meshlet = pScene.meshletInfos[m];
|
||||
MeshletCullingInfo culling = pScene.cullingInfos[cull];
|
||||
#ifdef DEPTH_CULLING
|
||||
if(culling.anyVisible())
|
||||
#endif
|
||||
{
|
||||
uint index;
|
||||
InterlockedAdd(head, 1, index);
|
||||
|
||||
Reference in New Issue
Block a user