Basically material.useLightmapAsShadowmap… TRUE OR FALSE.
From my experiments… if set to false… the lightmap color is added to the base color in the shader… So in that case you have to setup the light.lightmapMode accordingly so that same lightmapped texture does get OVER colored.
If i set to true…its multiplied… so it looks like i have to set the scene.ambientColor = something like grey or white and if the material has a lightmapTexture on it… i set material.ambientColor = white … overriding what the material.ambientColor was before… probably black if you didnt change the material.ambientColor explicitly .
So whats the preferred way to use lightmaps and what is the best settings for scene.ambientColor and material.ambientColor when using lightmaps ???