PDA

View Full Version : Feedback Mode and Multitexturing



cournia
06-10-2003, 02:15 PM
Page 555 of the Red Book states that when OpenGL is in feedback mode, "feeback returns only the texture coordinates of texture unit 0". http://www.opengl.org/discussion_boards/ubb/frown.gif

I would like to get back the texture coordinates for all texture units (I generate the texture coordinates in a vertex program). Is there known workaround to the above problem?

Bob
06-11-2003, 01:42 AM
Maybe you could do it in two passes. First pass you return everything but texture coordinates, and in the second pass you use a different vertex program with same functionality but write the texture coordinates you want to other attributes like vertex position, normal, color and the first texture coordinate.