Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: how to know max amunt of texture blended?

  1. #1
    Intern Contributor
    Join Date
    Jun 2005
    Posts
    87

    how to know max amunt of texture blended?

    hi in multitexture i have a limit of 4units in this card but how to know the max real limit? is glget() good for this? what paramater to pass?

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: how to know max amunt of texture blended?

    Has been answered before:
    GL_MAX_TEXTURE_UNITS is the number of the fixed pipeline texture units (which react on glEnable, glDisable, when fragment programs are off) (== 4 on your HW).
    glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &maxTextureImageUnits) is the number of texture units you can use in fragment programs. Should be 16 on modern HW.
    GL_MAX_TEXTURE_COORDS is the number of texture attribute arrays (normally = 8).
    GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB is the number of texture units available in the vertex shader (== 4 on GeForce 6xxx).

  3. #3
    Intern Contributor
    Join Date
    Jun 2005
    Posts
    87

    Re: how to know max amunt of texture blended?

    hi thank you
    i could not find this because i didnt know what to search for really i was looking for "max textures hw" etc and didnt found it srry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •