Skip to content
Snippets Groups Projects
Commit 7924fe77 authored by Alexander Gauggel's avatar Alexander Gauggel
Browse files

[#105] Fix culling parameter swizzling

parent 547308b9
No related branches found
No related tags found
1 merge request!88Resolve "Indirect Draw"
Pipeline #27386 passed
......@@ -48,7 +48,7 @@ void main(){
}
vec4 bbox = boundingBoxes[gl_GlobalInvocationID.x];
if (isSphereInsideFrustum(bbox.xyz, bbox.z)){
if (isSphereInsideFrustum(bbox.xyz, bbox.w)){
commands[gl_GlobalInvocationID.x].instanceCount = 1;
}
else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment