-
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?
-
Senior Member
OpenGL Guru
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).
-
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
-
Forum Rules