M.gloss

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
m
Line 14: Line 14:
 
* Opacity - Level of transparency, 0 = transparent, 100 = opaque.
 
* Opacity - Level of transparency, 0 = transparent, 100 = opaque.
 
* Glossiness - Should be set to 32 to match game.
 
* Glossiness - Should be set to 32 to match game.
* [[Diffuse map]] - RGB = diffuse color, A = reflection strength/mask
+
* [[Diffuse map]] - RGB = Diffuse color
* [[Opacity map]] - Legacy support for Diffuse texture Alpha channel
+
* [[Diffuse map]] - A = Reflection strength/mask. black = no reflection. White = full reflection.
* Reflection map - RGB = reflection color. Spherical mapping. Alpha unused and should be omitted or left fully white to avoid compression artifacts.
+
* [[Opacity map]] - (Legacy support.) If used, replaces the A channel of the diffuse map.
 +
* Reflection map - RGB = reflection color. Spherical mapping.
 +
* Reflection map - A = Alpha unused and should be omitted or left fully white to avoid compression artifacts.
 
=Related Links=
 
=Related Links=
 
[[Material Types]] - Material types supported by Trainz.
 
[[Material Types]] - Material types supported by Trainz.

Revision as of 15:58, 11 March 2015

Contents

Description

Glossy reflective material

Blends a reflection map onto a diffuse map. The blend between reflection and diffuse maps is controlled by the alpha channel of the diffuse map.

Preview

Mat gloss.jpg

Max Settings

Max material gloss.jpg

Max Settings in detail

  • Ambient - Ambient color R,G,B
  • Diffuse - Diffuse color R,G,B
  • Specular - Specular color R,G,B
  • Opacity - Level of transparency, 0 = transparent, 100 = opaque.
  • Glossiness - Should be set to 32 to match game.
  • Diffuse map - RGB = Diffuse color
  • Diffuse map - A = Reflection strength/mask. black = no reflection. White = full reflection.
  • Opacity map - (Legacy support.) If used, replaces the A channel of the diffuse map.
  • Reflection map - RGB = reflection color. Spherical mapping.
  • Reflection map - A = Alpha unused and should be omitted or left fully white to avoid compression artifacts.

Related Links

Material Types - Material types supported by Trainz.

Max Exporters - 3D Studio Max exporters.

Exporting with 3D Studio Max - Material setup and exporting with 3DS Max.

.texture.txt Files - What goes into a .texture.txt file

Personal tools