PDA

View Full Version : how many textures available in glslang fragmentprogam?



Chris Lux
04-22-2004, 08:53 PM
hi,
how many textures can one use in a glslang fragment progrem? i am confused about that, because you must bind them to texture units, so can i use GL_MAX_TEXTURE_UNITS (== 4 on my gfFX) or GL_MAX_TEXTURE_IMAGE_UNITS (== 16 on my gfFX)?

azazello
04-22-2004, 09:09 PM
GL_MAX_TEXTURE_IMAGE_UNITS
(16 for NV3x, but only 8 texture cooordinate units.)