• Advertisement


This topic is now archived and is closed to further replies.

Environment mapping using vertex arrays

This topic is 5995 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, Using OpenGL, how do I do a multipass render with the first texture pass being a standard texture mapping and the second texture pass being a environment map? I have a vertex array, with an associated texCoordArray (+colours and normals, but thats irrelevant now) which I feed to GL using glDrawElements(). This all works. I can use the texCoordArray, or use let GL generate tex coords for environment mapping. NOW, how do I combine the two using single pass multitexturing without drawing twice and blending the second pass? Is it possible at all? Thanks for any help! Paul

Share this post

Link to post
Share on other sites

  • Advertisement