Game Development Community

Lighting being skipped in 1.0.1

by James Brad Barnette · in Torque Game Engine Advanced · 05/14/2007 (9:36 pm) · 8 replies

I just installed 1.0.1 on a computer I have here at the house and . something really strange is going on when I try to run the Terrain water demo. it totally skips the "lighting mission" phase.amd i get a bkac everything and he water is not renderin right either.

same with ther regular demo only it skips it then toes totally pink.

I tried updating my drivers. I have a 7900GT and it was working on this system just a feww weeks back but I just reinstalled and it is bunko.

anyone seen anything like this?

I have tried reinstalling and I have tried alien foreces starter .fps and it is black as well.

#1
05/15/2007 (12:20 pm)
Looks like it has to deal with what release of DirectX9 SDK/DirectX9 you are using. You will notice a lot of others having the same problems...

e.g. http://www.garagegames.com/mg/forums/result.thread.php?qt=58098
#2
05/15/2007 (1:21 pm)
Yeah but the example should work no? I mean the example demo and stuf should work with out the SDK ever being installed.
#3
05/15/2007 (2:08 pm)
Only if the correct DX version is installed and the correct driver version
#4
05/16/2007 (8:57 am)
Ok this is the second computer I have downloaded the latest version onto and gotten the whole black thing. I think there is something really messed up here.

And beside runtime wise for the demos and examples should run with only DX runtime installed and DX 9.0c wich is current for XP should be fine.

my Nvidia drivers are the save as a machine that it is working on. the only difference is the download that was used to install them. there has to be some missing files from the latest TGEA download.

These are the files that the console says I'm missing.

in the console log I get:


GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainDynamicLightingMaskV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainDynamicLightingMaskP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainDynamicLightingV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainDynamicLightingP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasSurfaceDynamicLightingMaskV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasSurfaceDynamicLightingMaskP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasSurfaceDynamicLightingV.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/wavesV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/wavesP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing

Along with a whole lot more that it says are missing wheich I cannot show here.
#5
05/16/2007 (9:01 am)
The latest DX means Feb 2007 from DX Webinstaller.
I fear DX9.0c != DX9.0c, and anything older than Feb 2007 (which means Win 2k/XP as minimum) won't do the job unless you recompile TGEA and risk potential problems

If you get "can not compile" you do not have the current version.

If you get color errors, the driver is outdated normally :)
#6
05/16/2007 (9:45 pm)
I installed the April SDK and everything is fine now. So what am I supposed to do for someone that wishes to run the app make them install the SDK?
#7
05/17/2007 (8:12 am)
The DXSDK has an option to install "redistributable" files, though it is off by default. If you install that option it gives you the files you will need to package with the installation of your game.
#8
05/18/2007 (7:24 am)
Or just include the latest version of the DirectX Webinstaller as mentioned above. It will install all missing DX 9.0c versions.

Especially on Vista this is needed as vista only has a single one and sadly not the one TGEA is looking for.

So to get TGEA running on a system:

1. It must be Win2k or newer. Pre 2k are not supported
2. Make sure the most current DX version is installed by using Microsofts most current DirectX Webinstaller from their site.
3. Install the most current driver for your graphics card (ATI or NVidia, there are no other manufacturers of shader unit featuring graphics chips. Intel still does not have vertex shader units in GMA 950!)