Game Development Community

Missing shader files?

by Jeff Osborn · in Torque Game Engine Advanced · 09/16/2005 (12:54 pm) · 2 replies

I downloaded a starter.fps demo that seemed to work, but has two problems-- water and terrain don't show up. The grown is all white (giving trying to kill Kork a really Christmasy feel) and there does not appear to be any water.

I poked around a bit and noticed that the client/scripts/shaders.cs file refers to some subdirectories under "shader" that plum ain't there (so the files aren't there either:

shaders/water/WaterFresV1_1.hlsl
shaders/water/WaterFresP1_1.hlsl
shaders/water/WaterBlendV1_1.hlsl
shaders/water/WaterBlendP1_1.hlsl
shaders/water/WaterCubeReflectRefractV.hlsl
shaders/water/WaterCubeReflectRefractP.hlsl
shaders/water/WaterReflectRefractV.hlsl
shaders/water/WaterReflectRefractP.hlsl
shaders/water/WaterUnderV2_0.hlsl
shaders/water/WaterUnderP2_0.hlsl

Are these files supposed to be included with the TSE? I just (re)downloaded the TSE Release_0_2_0 from CVS to make sure that I hadn't lost them on my end but they aren't in the CVS download.

Also, these missing files seem to explain the no water problem, but all the shader files seem to be there for the terrain, so why is it all white?

I can see the buildings, Kork, myself, first, etc. No land textures and all the files seem to be present. I have an nVidia FX-5500 graphics card.

I'll tell you, what I can see looks great and, man is it quick.

Thanks ahead of time.

#1
09/17/2005 (1:15 am)
Your talking about Joseph's FPS demo I guess right?

There is stuff stripped out.. that's why I asked him to make it a resource. GG has a bounty out for
the fps port so...

You'll either have to manually fix stuff or wait for the next build of TSE to come out.
#2
09/17/2005 (11:56 pm)
I tried download the HEAD release, and was able to get it, but when I tried to load the DSW file in Visual studio to build it I got a weird message about the Visual Source Safe beta being expired (which I don't even have installed) and then it never load the project. In fact, I have to kill Visual Studio through task manager. All other projects (old TSE and release 1.3 of TGE) load just fine.

The HEAD looks like it has those shaders in it.

It looks like the head project or workspace was saved with some VSS settings in it on somebody's box that had a beta version of VSS that has expired. When I (or anyone else, I assume) downloads the HEAD and loads it up in VSS, I'd expect the same problem...

So, how about the all white terrain? Is that because of the hlsl files being out of date, too?