coderef

EXT_texture_filter_anisotropic WebGL extensionBaseline · Widely available

The EXT_texture_filter_anisotropic extension for WebGL 1.0 and 2.0 contexts adds anisotropic filtering (AF). AF improves the quality of mipmapped texture access when viewing a textured primitive at an oblique angle.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jun 7, 2016. Widely available since Dec 7, 2018.

Browser support

DesktopChrome
1–33Not supported
34+Supportedsince Apr 8, 2014
Current: 155
Edge
12+Supportedsince Jul 29, 2015
Current: 154
Firefox
1–46Not supported
47+Supportedsince Jun 7, 2016
Current: 157
Safari
1–9Not supported
9.1+Supportedsince Mar 21, 2016
Current: 27
MobileChrome Android
18–33Not supported
34+Supportedsince Apr 2, 2014
Current: 155
Firefox Android
4–46Not supported
47+Supportedsince Jun 7, 2016
Current: 157
Safari iOS
1–9Not supported
9.3+Supportedsince Mar 21, 2016
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: EXT texture filter anisotropic.

Feature detection

JS · check before using
if ("EXT_texture_filter_anisotropic" in globalThis) {
  // EXT_texture_filter_anisotropic is available
} else {
  // load a polyfill or use a fallback
}