Hi there, is there any way to read pixels from the depth texture?
We’re having problem with some Macs not showing shader effects correctly that use the depth texture as input. According to this link it’s a known issue: https://github.com/playcanvas/engine/issues/4266
So we have a fallback solution ready, but how do we detect if the problem is present? Everything appears correct from code, but the depth buffer is just white. So we’re planning on simply doing a pixel read from the depth texture to check if it’s all white.
Frustratingly it’s only on some Macs with certain hardware combinations. To force WebGL1, you would have to modify the __start__.js file as it has to be done before the GL context is created