Hi,
If I am not wrong, there is no working gl_FragDepth in WebGL now. GLSL spec has it.
Is it just temporary?
What if I would like to count depth per-pixel? Is there any other way?