Using two diffuse and emission maps
Posted: Tue Jul 31, 2012 10:53 am
Using this code in shipdata, I can only get one emission map working at a time. The diffuse maps are both specified in the .dat file and are appearing on the correct faces in-game. The second one (back) seems to be the default emission map which works, but if I remove the reference to it the 'front' emission map works. There are no log errors.
Am I trying to do the impossible here?
Am I trying to do the impossible here?
Code: Select all
materials =
{
"smivs_brick_front.png" =
{
emission_map = "smivs_brick_front-em_map.png";
shininess = 10;
specular_color = ( 0.3, 0.3, 0.3, 1.0 );
};
"smivs_brick_back.png" =
{
emission_map = "smivs_brick_back-em_map.png";
shininess = 10;
specular_color = ( 0.3, 0.3, 0.3, 1.0 );
};
};