PDA

View Full Version : lightmaps: where can I found code examples??



Bra'Tac
04-25-2001, 04:45 AM
All is in the title.

Handkor
04-25-2001, 08:15 AM
Here is a good link for lightmaps using extensions

http://members.nbci.com/mybollux/extensions/multitexture/multitexture.html

Bra'Tac
04-26-2001, 04:46 AM
Thanks but is there a way to use lightmap without multitexturing ?

dans
04-26-2001, 05:49 AM
Yes, simply use a second geometry/texture pass with blending. Effictively drawing your geometry twice. Not as heavy handed as it sounds but stick to multitex if possible.

Bra'Tac
04-26-2001, 06:07 AM
I'll try this, by i'am afraid for the performance.

zed
04-26-2001, 12:06 PM
with the above link http://www.opengl.org/discussion_boards/ubb/wink.gif the program draws the lightmaps with multitexture + without (using 2 passes + blending)

Bra'Tac
04-27-2001, 05:00 AM
It works very well with multipass now. And the performance aren't not too weak. Thanks for all !!!