I am using the specBump.fx shader that was in the code directory of gamestudio. The manual states that it can be used with a light map. I want to know if I am doing this correctly because I seem to be having a problem with the light map. The manual states:
*LM: Supports a lightmap either on the second skin of a block or model, or through the entities' lightmap pointer. A lightmap is a RGB texture that determines local light and shadow modulation of the surface, and uses normally a different resolution and UV coordinate set than the texture. If the object has no lightmap, a 100% white light modulation is assumed. Shaders that support lightmaps can be assigned to models as well as to level geometry.
I have set the model's first skin to the regular color map. For the second skin, I activated the second UV coordinate set, imported the skin mapping from the first coordinate set, and set the model's skin to the light map; I then deactivated the second coordinate set. I set the third skin as the normal map.
The shader seems to work correctly, except the light map doesn't seem to be working at all. Am I understanding this correctly?