Why does occluded variable holds list of visible objects instead of occluded objects.
I could see
for ( let i = 0; i < currentOcclusionQueryObjects.length; i ++ ) {
if ( results[ i ] == BigInt( 0 ) ) {
occluded.add( currentOcclusionQueryObjects[ i ] );
}
}
in the resolveOccludedAsync method, .
whats the purpose of having ! here ?.