Game Development Community

Does T3D have this feature?

by ysun · in Torque 3D Professional · 09/12/2009 (12:49 am) · 2 replies

In some games, the textures can be set with different properties by adding special strings ahead or behind, like metal_texture01.jpg, stone_texture01.jpg, etc. So when these textures being hit by bullets, there are different visual effects and sounds. Does T3D have this feature? If not, how T3D make it if there is a brick box and one side is metal covered?

Thanks.

#1
09/13/2009 (12:53 pm)
It has some of that, but it is not done by texture names, it's done by fields on the Material. Take a look at the "Behavioral" group of fields on Material ( materialDefinition.cpp ).
#2
09/14/2009 (11:06 am)
Thanks, James.