Hi,
is it possible to generate more than 1 TEXCOORD's as input for a cg fragment shader program, with glTexGen?
And if it's possible, how exactly can it be done? I was trying to do it with multitexturing but I don't seem to get it to work. This is how I'm trying to do it:
For each of my images, I want to load a different projective texture matrix. That's what the "loadTextureProjection" routine does. It also enables GL_TEXTURE_GEN_S etc...Code :for(i = 0; i < m_nrImgs; i++) { glActiveTextureARB(GL_TEXTURE0_ARB + i); glMatrixMode(GL_TEXTURE); glLoadIdentity(); loadTextureProjection(m_imgs[i]); } renderQuad();
I would appreciate any comments or hints.
Thanks,
Karel



