Occlusion queries fail if gltf mesh loaded

Hi everyone,

Please check this out: https://playground.babylonjs.com/#J62R3F#112

Occlusion queries work, if I enable them for the single box mesh (commented line 13):

But once I add the loaded meshes to the occlusion queries, occlusion queries stop working.

Best wishes

seems to work there:

Available Mesh BrainStem | Babylon.js Playground (babylonjs.com)

as soon as one is occluded it turns green (and the box can occlude the feet)

1 Like

Oh dear. Sorry, I didnt see that :zipper_mouth_face:

1 Like