Goooooood morning Ooliters!
Okay, then. Today's conundrum:
I made the corrections to the code that the Commander and Eric spotted. I imagine that's probably fixed the position of the laser on the ship if nothing else.
My primary concern this morning is the specular map, specular and shininess settings.
I could quite clearly see the diffuse and emission maps working. I couldn't tell if the Normal map was working, so this morning I made the diffuse map a mid-grey. When I ran the game, I could clearly see the normal map lines on the hull, so I know now that the normal map is working.
The specular, on the other hand doesn't seem to be doing anything.
I made the Specular map a black and white chequer pattern so that I could see it obviously. It clearly isn't there. Also, no matter what I set the shininess and specular settings to it makes no difference. I've tried making them both zero and I've tried ramping them both up to full and all I get is a flat, mid-grey.
I read that in some more recent versions of Oolite, if a specular map is used, then the specular and shininess settings would default to full, so I removed the Specular map and it made no difference.
According to the log, it's not actually loading the Specular map which goes back to a problem I was having yesterday. I have double-checked and the texture is definately named correctly and is in the correct place and it is a PNG file. So it's not that it can't find it.
I'm stuck (again!).
The code I currently have is thus:
Code: Select all
materials =
{
"seraphim.png" = {
shininess = 64;
specular = (0.5, 0.5, 0.5, 1.0);
normal_map = "seraphim_n.png";
specular_map = "seraphim_s.png";
emission_map = "seraphim_e.png";
};
};
Cheers,
Crow