AC3D file format: Difference between revisions

m
→‎Materials: Specular color description was off, sorta fixed now.
(→‎Materials: added missing meaning of shininess in AC3D file)
m (→‎Materials: Specular color description was off, sorta fixed now.)
Line 31: Line 31:


<tt>spec 0.2 0.2 0.2</tt>
<tt>spec 0.2 0.2 0.2</tt>
: [http://en.wikipedia.org/wiki/Specular_reflection Specular] means the reflection of light that comes from the viewer, i.e. the color of light that comes from you and goes back to you. In other words, here you set the color for mirror-like reflections. In the example, specular is set to full green.
: [https://en.wikipedia.org/wiki/Specular_highlight Specular] means the direct reflection of light from sun/moon to the surface of the object and then to the viewer. When you view the object that will form a specular spot on the object, the color of the specular spot is what is set here. In the example, specular is set to full green.


<tt>shi 128</tt>
<tt>shi 128</tt>
574

edits