gl.stencilMaskexpects a GLUint as its parameter, not a boolean value.
This is relevant for https://github.com/BabylonJS/Spector.js/pull/257; when running Spector.js on the webxr samples, captures would fail because Spector was expecting a numerical value in the stencilMask call and got a boolean instead.
I haven't dug super deep into the code, so am not entirely certain that the values I provided are the desired ones for the stencilMask call.
gl.stencilMask
expects a GLUint as its parameter, not a boolean value.This is relevant for https://github.com/BabylonJS/Spector.js/pull/257; when running Spector.js on the webxr samples, captures would fail because Spector was expecting a numerical value in the
stencilMask
call and got a boolean instead.I haven't dug super deep into the code, so am not entirely certain that the values I provided are the desired ones for the stencilMask call.