M.gloss: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Retro00064 (talk | contribs)
mNo edit summary
Line 3: Line 3:


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.
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=
=Preview=
[[Image:mat_gloss.jpg]]
[[Image:mat_gloss.jpg]]
Line 15: Line 16:
* [[Diffuse map]] - RGB = diffuse color, A = reflection strength/mask
* [[Diffuse map]] - RGB = diffuse color, A = reflection strength/mask
* [[Opacity map]] - Legacy support for Diffuse texture Alpha channel
* [[Opacity map]] - Legacy support for Diffuse texture Alpha channel
* Reflection map - RGB = reflection color. Spherical mapping
* Reflection map - RGB = reflection color. Spherical mapping. 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 04:38, 11 March 2015

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

Max Settings

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, A = reflection strength/mask
  • Opacity map - Legacy support for Diffuse texture Alpha channel
  • Reflection map - RGB = reflection color. Spherical mapping. 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