Material Types

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(m.gloss)
Line 44: Line 44:
  
 
[[Image:mat_tbumpenv.jpg]]
 
[[Image:mat_tbumpenv.jpg]]
 +
 +
[[Category:Material types]]

Revision as of 13:11, 3 March 2011

Materials describe how a modelled surface will appear in the game. They specify a range of configurations and resources including classic material properties, textures and shaders.

Contents

Material Naming

A material name consists of a creator supplied given name and a material type suffix. The material type is one of a set of supported types eg. 'm.onetex'. All material types begin with 'm.' The material type is manually appended to the name of the material within the creation program eg. 3D Studio Max, it is not implied by the configuration of the material.

The creator supplied given name should begin with a letter and contain only english letters, numbers, dash and underscore characters. Material names in Trainz are not case sensitive. The names will be converted to lowercase internally, even if the original name from the creation program (ie. 3DS Max, Blender) contained mixed case or was case sensitive.

The same material name may be used by different models intented to be used together, in fact this allows the materials to be efficiently shared. An example valid material name is: brickwall.m.tbumptex

For more info about configuring materials see Exporting with 3D Studio Max.

Material Types

All materials are lit.


m.notex

m.notex is a non-textured material.

Mat notex.jpg

m.onetex

m.onetex is a diffuse texture mapped material.

Mat onetex.jpg

m.reflect

m.reflect is a reflective material.

Mat reflect.jpg

m.gloss

m.gloss is a glossy reflective material

Mat gloss.jpg

m.tbumptex

m.tbumptex is a bump mapped material.

Mat tbumptex.jpg

m.tbumpgloss

m.tbumpgloss is a bump mapped reflective material.

Mat tbumpgloss.jpg

m.tbumpenv

m.tbumpenv is a bump mapped environment reflective material, available in TS2009WBE:SP1 and later.

Mat tbumpenv.jpg

Personal tools