[Public WebGL] proposal draft for EXT_texture_filter_anisotropic

Florian Bösch [email protected]
Thu Feb 23 06:03:51 PST 2012


A patch to introduce this extension has been accepted by Mozilla to
mozilla-inbound: https://bugzilla.mozilla.org/show_bug.cgi?id=728354

- The extension name MOZ_EXT_texture_filter_anisotropic is used by firefox.
- A conformance test has been added for this feature:
http://hg.mozilla.org/integration/mozilla-inbound/diff/a6dfdf5a529d/content/canvas/test/webgl/ext-texture-filter-anisotropic.patch
- Is it possible to accept this conformance test upstream to the Khronos
conformance test suite?
- A demo for anisotropic filtering is available at:
http://codeflow.org/webgl/anisotropy/
- Sample picture of the demo: http://codeflow.org/pictures/anisotropy.jpg

Example Code:

var ext = gl.getExtension('MOZ_EXT_texture_filter_anisotropic');
if(ext){
    var max = gl.getParameter(ext.MAX_TEXTURE_MAX_ANISOTROPY);
    gl.texParameterf(target, ext.TEXTURE_MAX_ANISOTROPY, max);
}

Angle OpenGL works fine, but Direct3D support is not yet there for this
feature, requirement described there:
http://code.google.com/p/angleproject/issues/detail?id=297
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20120223/d0c4d490/attachment.html>


More information about the public_webgl mailing list