The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.

Documentation EXT_frag_depth by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See: