View Full Version : how to know max amunt of texture blended?
01-16-2006, 05:17 PM
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?
01-16-2006, 11:42 PM
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).
01-17-2006, 12:14 AM
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
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.