Wip stuff

This commit is contained in:
mcrcortex
2025-02-05 09:39:55 +10:00
parent 9bd84ae3e8
commit db43e26b8a
10 changed files with 743 additions and 20 deletions

View File

@@ -57,7 +57,7 @@ void main() {
}
UnpackedNode node;
unpackNode(node, gl_GlobalInvocationID.x);
if (isEmptyMesh(node) || (!hasMesh(node)) || (!hasChildren(node))) {
if (isEmptyMesh(node) || (!hasMesh(node)) || (!hasChildren(node)) || all(equal(node.pos, ivec3(0)))) {
return;
}
bubbleSort(0, gl_GlobalInvocationID.x, vis);