PDA

View Full Version : Multitexturing and using DrawArrays.



Icepir8
08-20-2002, 11:08 AM
My app currently uses glDrawArrays() to render my scene. I want to add mulitexturing to it. How would I go about this? I can't seem to find the needed info. Thanks in advance for you help.

Asgard
08-20-2002, 11:48 AM
Hi,
Look in the OpenGL spec in chapter 3.8 Texturing. For multi-texturing especially 3.8.15 might be interesting. Look for glActiveTexture (selects a texture unit) and also glClientActiveTexture in chapter 2.8 Vertex Arrays.
Cheers.