View source
From Iris2
for
How to write a Material File
Jump to:
navigation
,
search
=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. *Begin the file with the following file without the slashes. The slashes are normally for comments. <code>import * from "material-templates.material"</code> *This will import the templates and the artist does not have to type very much. ---- 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> material basefloortile : diffuse_template { set_texture_alias ambient_tex tex_basefloortile.png set_texture_alias diffuse_tex tex_basefloortile.png } </code> =Templates=
Return to
How to write a Material File
.
Views
Page
Discussion
View source
History
Personal tools
Log in
main
Main Page
Screenshots
download
Install Guide
Forum
FAQ
Macros
Credits
dev
Developer Blog
A Guide for Artists
Development
Item Model List
Iris-Testshard
Bugreports
SvnLog
API C++
API Lua
wiki
Recent changes
Random page
Help
Search
Toolbox
What links here
Related changes
Special pages