Imagination PowerVR SDK Blog

About Anisotropic Filter


#1

Hi all,



Does SGX544 support anisotropic filter extension as the document in khronos web?

khronos.org/registry/gles/extensions/EXT/texture_filter_anisotropic.txt



Thanks,

He-Jie


#2

Hi,



SGX544 hardware is capable of up to 16x anisotropic filtering. It’s up to our customers to decide if this functionality will be exposed on their platforms through an extension.



Thanks,

Joe


#3

Hi Joe,



I found some code about anisotropic filter in gl2ext.h.



/* GL_EXT_texture_filter_anisotropic /

#ifndef GL_EXT_texture_filter_anisotropic

#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE

#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF

#endif



/
GL_EXT_texture_filter_anisotropic */

#ifndef GL_EXT_texture_filter_anisotropic

#define GL_EXT_texture_filter_anisotropic 1

#endif



How can I set 16x, 8x or 4x anisotropic filter in GLES 2.0 app?



Thanks,

He-Jie


#4

Hi He-Jie,



You can use the glTexParameter*() function with the GL_TEXTURE_MAX_ANISOTROPY_EXT parameter to select the maximum filtering mode that you need. This allows your to control the trade-off between performance and quality.



Thanks,

Joe