Game Development Community

No texture on character

by Mark Pilkington · in Torque Game Engine · 10/01/2006 (4:33 pm) · 1 replies

I have a place holder character animated and running about but he has the 'No material' on it instead of its proper texture originally assigned. The texture is in the same folder as the dts model and dsq files so I imagine this is a shader problem.

Here is my material.cs file:

//*******************************************
// psycho base material
//*******************************************

new Material(corrigated2)
{
baseTex[0] = "~\data\shapes\player_psycho\corrigated2";
};



----------
any ideas?

For some reason my terrain in my test level is also Black, all I did to set this up was copy the terrain_water demo and reneamed the root folder to a more fitting name for my project.

Any help is much appreciated and I know this is a pretty small problem that can be sorted in five minutes.

Cheers.

#1
10/01/2006 (5:19 pm)
Shouldnt you post this in the 'TAT' forums?