Multitexture, lightmaps and voodoo3


I am having problems getting multitexturing to work with voodoo3.
I have made a version that works fine with my GeForce (well at least it draws two textures to a single polygon), but it uses GL_EXT_texture_env_combine extension which is not available for voodoo3.
So how can I combine texture and lightmap so that it would be done in a single pass with voodoo3?

And what combining methods should i use to get “real” lightmap look (used in games).


For lightmaps, use GL_MODULATE rather than GL_COMBINE_EXT.