Game Development Community

MaterialMap.cs

by Robert Stewart · in Torque Game Engine Advanced · 11/23/2005 (10:32 am) · 2 replies

This is no materialMap.cs in the latest TSE? Where do I add the addMaterialMapping stuff.
Can I just execute the command anywhere?

#1
11/23/2005 (10:37 am)
Yea I just made the file, and then added an exec call in the init file.

I put mine in data. Have no idea why it was left out.

Edit: 11/24 - If this was replaced or moved someone else let us know in this thread.
Maybe we missed some change note?? But all the resources and TDN call for this file still.
#2
12/13/2005 (12:56 pm)
MaterialMap.cs is no longer needed. Instead of the addMaterialMapping() calls that were in materialMap.cs, you can just use the "mapTo" parameter right in the Material.

See:

www.garagegames.com/mg/forums/result.thread.php?qt=32490