How to write a Material File

From Iris2

Jump to: navigation, search
(Defining the Template and Texture)
Line 19: Line 19:
-
<code>
+
<pre>
material basefloortile : diffuse_template
material basefloortile : diffuse_template
Line 30: Line 30:
}
}
-
</code>
+
</pre>
Diffuse is the texture for normal light and ambient is what happens if there is no light.
Diffuse is the texture for normal light and ambient is what happens if there is no light.

Revision as of 16:00, 19 December 2011

Personal tools