Game Development Community

Fresh build - render issues

by Andrew Edmonds · in Torque Game Engine Advanced · 03/12/2007 (3:30 pm) · 7 replies

Hi all,

I have a fresh untouched install of TGEA. If I run the pre-compiled exe from the download everything works fine in the demo, water demo and the ported starter.fps. However, if I perform a build of the untouched code and run it, all the terrain renders black and the water just a bright blue plane, with occasional flickering.

Has anyone else experienced this, or have any ideas as to what could be causing it?

Many thanks.

About the author

Formed in 2005, EiKON Games is an indie games development project based in the UK working on the tactical first person shooter "Epoch: Incursion". See the Join Us or Contact Us pages at http://www.eikon-games.com/


#1
03/12/2007 (3:32 pm)
Is it a debug compile or a release compile?
#2
03/12/2007 (3:38 pm)
It's a release compile - I'll try a debug compile right now...
#3
03/12/2007 (3:42 pm)
Which version of the DirectX SDK do you have installed?

It seems that someone else posted a problem with black terrain, and I thought that it was a SDK issue. But then, I might be on crack.
#4
03/12/2007 (3:45 pm)
OK I did a debug compile and when I run it (terrain_water_demo) I get the following popup:

Unable to compile vertex shader
'shaders/legacyTerrain/terrainDynamicLightingMaskV.hlsl'

When I click retry the engine crashes back to the desktop.

update: I'm using the Feb 2007 DirectX SDK
#5
03/12/2007 (3:53 pm)
TGEA doesn't support anything past October 2006 DirectX SDK.

This is like the 12th time I've seen this as the root of people's problems. GG should really put that in really really gigantic print somewhere... everywhere.
#6
03/12/2007 (3:55 pm)
Aha! That could well be it. Apologies if this is posted elsewhere - I did have a (brief) look before posting. I'll grab an older SDK and retry. Thanks guys.
#7
03/12/2007 (4:54 pm)
Yep - that was the problem. All working again now with the Oct 06 SDK. Thanks again!