EXT_frag_depth WebGL extension
Limited availability
The EXT_frag_depth extension for WebGL 1.0 and 2.0 contexts adds setting the depth value of a fragment from within the fragment shader.
Browser support
- Chrome 38 Released on 2014-10-07
- Chrome Android 38 Released on 2014-10-08
- Edge 93 Released on 2021-09-02
- Firefox 47 Released on 2016-06-07
- Firefox for Android Not supported
- Safari 9 Released on 2015-09-30
- Safari on iOS 15 Released on 2021-09-20
Baseline availability blocked since September 2021 by Firefox (58 months)
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
- WebGL EXT_frag_depth Khronos Ratified Extension Specification, from WebGL Working Group (Khronos Group).
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist