How to increase MaxAnisotropy?

const texture = new THREE.TextureLoader().load( ‘yourJeansTexture.png’ );
texture.anisotropy = renderer.getMaxAnisotropy();

Can I increase the number of getMaxAnisoptropy value here? I think this code is about sharpness.
When I put it in my code, 16 is the maximum value.
Due to your answer, texture looks improved, but it still needs a little bit increased value such as 100.
To solve maximum value issue, what can I change?


No, renderer.getMaxAnisotropy() returns the value of EXT_texture_filter_anisotropic’s MAX_TEXTURE_MAX_ANISOTROPY_EXT constant which is a property of the graphics card.


Which by the way EXT_texture_filter_anisotropic is decided by the graphics card based on power. EXT_texture_filter_anisotropic basically sets the limit for how much of the texture can be re-textured several times while, for example, looking at a plane from a very sharp angle.

Note that this has now changed to renderer.capabilities.getMaxAnisotropy.

1 Like