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?
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).
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