Shaders not loading
by Ed Johnson · in Torque Game Engine Advanced · 07/24/2007 (11:52 pm) · 4 replies
I have two builds of the TGEA engine, the stock (demo) version and an AFXA (AFX+TGEA) test build (for the Arcanoria project). For some reason, it seems like NONE of the shaders are being loaded on my computer in the AFXA version, but the stock TGEA demo works fine, so I know my computer can handle the shaders. I also tried the AFXA demo on my laptop (which is signifcantly less powerful than my desktop) and it ran fine as well.
I've updated my graphics drivers, the only other thing I can think of would be to reinstall directX.
This is the message I'm getting:
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/blobRefractPixP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/reflectSphereV.hlsl'?
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/tendrilP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/tendrilV1_1.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/tendrilP1_1.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/blankV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/outerKnotV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/outerKnotP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/outerKnotV1_1.hlsl'
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasSurfaceP4.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasFogV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasFogP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasDetailV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasDetailP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasBlenderPS20V.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainBlenderPS20P.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainBlenderPS11AV.hlsl'?
It fails on just about every shader it is trying to load.
I've updated my graphics drivers, the only other thing I can think of would be to reinstall directX.
This is the message I'm getting:
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/blobRefractPixP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/reflectSphereV.hlsl'?
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/tendrilP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/tendrilV1_1.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/tendrilP1_1.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/blankV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/outerKnotV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/outerKnotP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/outerKnotV1_1.hlsl'
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasSurfaceP4.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasFogV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasFogP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasDetailV.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasDetailP.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/atlas/atlasBlenderPS20V.hlsl'?
GFXD3DShader::initVertShader - unable to compile shader!
GFXD3DShader::initPixShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainBlenderPS20P.hlsl'?
GFXD3DShader::initVertShader - no compiled code produced; possibly missing file 'shaders/legacyTerrain/terrainBlenderPS11AV.hlsl'?
It fails on just about every shader it is trying to load.
#2
Oh, before I forget: Have you checked your DirectX version? You need the latest June 2007 release I guess to let it run. That was one error I had on a different machine and the error message looked like your one. Maybe it's one of both solutions that may help.
07/25/2007 (1:28 am)
I had this once too for the Flight Game Example. It was in my case a build script that copied all the necessary files together to make a releaseable zip file out of it. It copied the shader files wrong (DOS command problem maybe) and so the shader files appeared to be corrupted. The solution in my case was to simply copy over once again the shader files. Oh, before I forget: Have you checked your DirectX version? You need the latest June 2007 release I guess to let it run. That was one error I had on a different machine and the error message looked like your one. Maybe it's one of both solutions that may help.
#3
07/25/2007 (9:12 am)
Thanks, you gave me a few avenues to try. I'll try both.
Torque Owner Ed Johnson