Skip to main content
GameDev.net gamedev.net
🔒 Locked

Texture Mapping Newie

Started by Tasselhof Nov 19, 2001 at 6:37 AM 1 replies 250+ views
Original Post
Tasselhof
Tasselhof
Hi all, I''m new to OpenGL and try to learn OpenGL by reading NeHe Lessions. At lession 6 there is a sample of texture mapping, which runs perfectly. The tutorial shows how to map one texture to all the sides of the cube by using glBindTexture before glBegin(GL_QUADS). In the tutorial it is mentioned that you must use glBindTexture outside of glBegin. How do I map different textures to different sides of the cube?? A little bit of code would be nice. Thanks in advance, Tasselhof
Tasselhof
Tasselhof
Thanks, that was the information I needed.

Cheers, Tasselhof

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.