glTF-Sample-Viewer icon indicating copy to clipboard operation
glTF-Sample-Viewer copied to clipboard

Texture Sampler Ignored

Open UX3D-kanzler opened this issue 4 years ago • 2 comments

This asset contains a sampler with min filter and mag filter set to nearest. Though, the rendering of a texture using this sampler looks like a rendering with linear filtering: texture-filtering-nearest

UX3D-kanzler avatar Feb 17 '22 10:02 UX3D-kanzler

After closer inspection, this issue is the result of a bug in anisotropic texture filtering in D3D11 (https://bugs.chromium.org/p/angleproject/issues/detail?id=4994)

UX3D-kanzler avatar Feb 18 '22 13:02 UX3D-kanzler

Aniso is undefined for nearest filtering, so platform-specific behavior differences will likely remain. The viewer should just disable aniso in this case.

lexaknyazev avatar Feb 18 '22 13:02 lexaknyazev