Skip to main content

All Questions

6 votes
2 answers
3k views

Webgl: alternative to writing to gl_FragDepth

In WebGL, is it possible to write to the fragment's depth value or control the fragment's depth value in some other way? As far as I could find, gl_FragDepth is not present in webgl 1.x, but I am ...
andre's user avatar
  • 369