About Anisotropic Filter

This topic contains 3 replies, has 2 voices, and was last updated by  Joe Davis 4 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31298

    bignose
    Member

    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

    #37391

    Joe Davis
    Member

    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

    #37392

    bignose
    Member

    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

    #37393

    Joe Davis
    Member

    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

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.