View Full Version : some question about glTexGen()

07-26-2006, 08:31 AM
Can this function be used to generate the texture coordinates of any model?

07-26-2006, 10:15 AM
If you're asking if it will do the work of UV-mapping tools then no.
Texture coordinate generation is usefull for special effects like fog, reflections or shadow mapping. It's also usefull for covering landscape with textures, creating water or sky.
Another example would be volume rendering.

You can use it to texture a model, but it will probably require using it multiple times for diffeent parts of model.

07-28-2006, 07:12 PM
Thank you,K_szczech.