Is there any one tried pre-z in WebGL?
In my solution, mesh is rendered with color write disabled and so only depthbuffer is updated in the first pass.
Next, in the second pass, the mesh is rendered again with normal rendering.
However, I got severe z-fighting effect in WebGL by performing pre-Z.