lightmaps: where can I found code examples??

All is in the title.

Here is a good link for lightmaps using extensions

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

Thanks but is there a way to use lightmap without multitexturing ?

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.

I’ll try this, by i’am afraid for the performance.

with the above link the program draws the lightmaps with multitexture + without (using 2 passes + blending)

It works very well with multipass now. And the performance aren’t not too weak. Thanks for all !!!