How to write a Material File

From Iris2

Jump to: navigation, search
(Editing the File)
(Editing the File)
Line 1: Line 1:
=Editing the File=
=Editing the File=
-
*Open a file and rename it to the name of the material in your mesh file. For example basefloortile.material for the respective basefloortile.mesh.
+
Open a file and rename it to the name of the material in your mesh file. For example basefloortile.material for the respective basefloortile.mesh.
-
*Begin the file with the following file without the slashes. The slashes are normally for comments.
+
Begin the file with the following file without the slashes. The slashes are normally for comments.
<code>import * from "material-templates.material"</code>
<code>import * from "material-templates.material"</code>
-
*This will import the templates and the artist does not have to type very much.
+
This will import the templates and the artist does not have to type very much.
----
----

Revision as of 10:35, 3 December 2011

Personal tools