How to write a Material File
From Iris2
|  (→Editing the File) |  (→Editing the File) | ||
| Line 4: | Line 4: | ||
| 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. | ||
| Line 14: | Line 16: | ||
| Then type this and replace the "diffuse_template" with your chosen template and "tex_basefloortile.png" with the texture which you want to use. | Then type this and replace the "diffuse_template" with your chosen template and "tex_basefloortile.png" with the texture which you want to use. | ||
| + | |||
| <code> | <code> | ||
