Which format for shininess / specular color?
Posted: Wed Dec 22, 2010 5:38 pm
Sorry. Noob question. VERY noobish. Noobishisity.
which is correct:
... or ...
... or if they BOTH work, I assume that the second one is better, less typing. I can experiment, but the concept "if it works, use it" bothers me. I'd rather know the "most proper way" to do it.
- Thanks
which is correct:
Code: Select all
materials =
{
"back_metal.png" = {
diffuse_map = "Cor_Front.png";
emission_map = "Cor_FrontE.png";
shininess = 10;
specular_color = (0.30, 0.30, 0.30, 0.50);
};
"bottom_metal.png" = {
diffuse_map = "Cor_Side.png";
emission_map = "Cor_SideE.png";
shininess = 10;
specular_color = (0.30, 0.30, 0.30, 0.50);
};
};
Code: Select all
materials =
{
"back_metal.png" = {
diffuse_map = "Cor_Front.png";
emission_map = "Cor_FrontE.png";
};
"bottom_metal.png" = {
diffuse_map = "Cor_Side.png";
emission_map = "Cor_SideE.png";
};
shininess = 10;
specular_color = (0.30, 0.30, 0.30, 0.50);
};
- Thanks