Objects shader
by Howard Dortch · in Torque Game Engine Advanced · 03/17/2007 (10:02 am) · 1 replies
I created a new basic test game and grabed some of the objects from the demo and dropped them in my test world but the shaders are not working for them.
I put a testSphereThing in my mission which points to this as a datablock.
datablock ItemData( TestSphere )
{
shapeFile = "~/data/shapes/test/sphere_all.dts";
dynamicReflection = true;
};
I dont see anything in there to point this to a shader for it show the material properly.
I added a small pond and the water shader is hooked so I assumed the other shaders would work.
I put a testSphereThing in my mission which points to this as a datablock.
datablock ItemData( TestSphere )
{
shapeFile = "~/data/shapes/test/sphere_all.dts";
dynamicReflection = true;
};
I dont see anything in there to point this to a shader for it show the material properly.
I added a small pond and the water shader is hooked so I assumed the other shaders would work.
Torque 3D Owner Mark Dynna