Terrain all black
by xardias · in Torque Game Engine Advanced · 08/31/2006 (12:06 pm) · 3 replies
Hi,
I am just porting my scripts from tge to tse.
The game and the server both start without any complains, and the good old orc fellow is lit using the material system.
But I have problems to get the terrain running correctly.
For testing porpose i used an old tge terrain instance. When loading the terrain tse complains about missing material definitions (TerrainMaterial and some other). I created all of them and assigned them the no-material texture.
Maybe am I missing any script from tse, but I really dont know what do try next.
I would really appreciate any suggestions on where the root of this problem may be.
thanks :)
Dennis
I am just porting my scripts from tge to tse.
The game and the server both start without any complains, and the good old orc fellow is lit using the material system.
But I have problems to get the terrain running correctly.
For testing porpose i used an old tge terrain instance. When loading the terrain tse complains about missing material definitions (TerrainMaterial and some other). I created all of them and assigned them the no-material texture.
new Material(TerrainMaterial)
{
baseTex[0] = "./warnMat";
emissive[0] = true;
};The level loads but the terrain shows up all in black and relighting has not solved the problem. I later also tried loading an atlas terrain with the same effect.Maybe am I missing any script from tse, but I really dont know what do try next.
I would really appreciate any suggestions on where the root of this problem may be.
thanks :)
Dennis
About the author
Torque 3D Owner James Spellman
Edit: Forgot to mention, the console log was complaining like this:
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainDynamicLightingMaskV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!