Darkness with Multitexturing

Hi, I’ve written a MapFile Loader for my format and display it with Blending or with Multitexturing, if it is supported.

Why does the Multitexture way is, way darker than the blending method ?

How can I change the method, the Textureunits are merged ?

Thanks,
StryX

Why does the Multitexture way is, way darker than the blending method ?

I think it depends on the blend func you are using, but the ARB_multitexture (if that’s what you are using) only does base*lmap calculations, so the result may be darker, becouse the brighest resulted color is the base texture’s color.

I’ve found out the poroblem:

i had set GL_MODULATE in both texture units.

To get the normal brightness I must use

GL_REPLACE for the texture and GL_MODULATE for the Lightmap.

It works now,
Thanks anyway,

StryX