Hello, I'm having some problems with the texture units/images in glsl. Acording with the specification, a shader is able to use up to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB between the vertex shader and the fragment shader. With a gffx card this value is 16, so I go from tex0 to tex15 binding all textures,
for"i=0;i<15;i++"{glActiveTextureARB"GL_TEXTURE0_A RB + i"; glBindTexture"target[i],id[i]";}
With this configuration in the host application
If I try to assign a value greather than 7 to the sampler2D, the result is a black object in the window... so only works the first eight texture images
P.S: replace quotes for parenthesis



. Well, at least I know where are the error, it's an advance
