[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Implement extension EXT_frag_depth in WebGL



Specified in:
Hardware availability

Proposed Extension: https://github.com/KhronosGroup/WebGL/pull/84


On Thu, Nov 22, 2012 at 5:50 AM, Ben Adams <thundercat@illyriad.co.uk> wrote:
Its been mentioned several times before, however I'd like to request that WEBGL_frag_depth be added to the extensions.

http://www.khronos.org/registry/gles/extensions/EXT/EXT_frag_depth.txt

Previous mentions:

gl_FragDepth and the focus of WebGL
https://www.khronos.org/webgl/public-mailing-list/archives/1204/msg00033.html 

Dynamic loops and gl_FragDepth access in fragment shader
https://www.khronos.org/webgl/public-mailing-list/archives/1201/msg00142.html

As mentioned in follow up by Florian Bösch:
This is a useful capability in circumstances where raycasting, raytracing, path-tracing, paralax-mapping, signed distance fields, impostors etc. are involved and rendered together with rasterized geometry.