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

Re: [Public WebGL] Implement extension EXT_frag_depth in WebGL

The proposed extension as been merged into the khronos repository (thanks Kenneth).

Please review the extension proposal: http://www.khronos.org/registry/webgl/extensions/proposals/EXT_frag_depth/


On Thu, Nov 22, 2012 at 11:07 AM, Florian Bösch <pyalot@gmail.com> wrote:
Specified in:
  • OpenGL: Available in the core specification to OpenGL 2.0, released 2004
  • OpenGL ES:
    • Available as extension ES: EXT_frag_depth, released 2010
    • Available in the core specification to OpenGL ES 3.0, released 2012
  • Direct3D: Available since Shader Model 2.0, Released with Direct3D 9.0 in 2002
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.

Previous mentions:

gl_FragDepth and the focus of WebGL

Dynamic loops and gl_FragDepth access in fragment shader

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.