PDA

View Full Version : Multitexturing in Quadrics



freddie
08-24-2008, 04:12 PM
can anybody let me know, how to apply multitexturing to a quadrics object,please provide some relevant examples.
Thanks in adv.

Zengar
08-24-2008, 04:24 PM
AFAIK, GLU was developer before the multitexturing was present in the GL core, so there is no way to let GLU generate coordinates for non-zero texture unit. You can either use the fragment shader to sample from different textures using the same coordinates or pre-bake the texture map.