Game Development Community

Black terrain

by Sunder Studios · in Torque 3D Professional · 06/04/2009 (10:34 pm) · 10 replies

I am running Torque3D beta 2 on Vista 32-bit. I know this issue has been brought up before, but I have tried everything I know it could be.

Installed latest PhysX driver/SDK.
Installed March 2009 DirectX SDK.
Installed latest nVidia drivers for my video card.

Anyone have any ideas?

#1
06/05/2009 (3:21 am)
Whats your video card?

And could you look at your console log for errors or warnings?
#2
06/05/2009 (5:45 am)
My video card is a 7950GT and here are the errors I could find in the log:

--------- Initializing Lighting Systems ---------
Could not map material: DefaultPrePassMaterial to a texture name, need to specify 'mapTo' or 'baseTex[0]' parameter
Using

art/gui/remapDlg.gui (0): Cannot re-declare object [RemapDlg].
Could not map material: TerrainSoft to a texture name, need to specify 'mapTo' or 'baseTex[0]' parameter
Could not map material: TerrainHard to a texture name, need to specify 'mapTo' or 'baseTex[0]' parameter
Namespace::unlinkClass - cannot unlink namespace parent linkage for TerrainMaterial for SimObject.
Error: cannot change namespace parent linkage of TerrainMaterial from SimObject to CustomMaterial.

I saw this in the middle of the shader loading:
*********************************************************
*********************************************************
*********************************************************
PLEASE RESAVE THE TERRAIN FILE FOR THIS MISSION! THANKS!
*********************************************************
*********************************************************
*********************************************************
#3
06/05/2009 (5:48 am)
Try deleting your prefs. This happened to me a few times after a fresh install on different machines.
#4
06/05/2009 (1:30 pm)
Yea... nothing in there that could be causing the black terrain issue. Just to be sure email me your console log so i can check it in detail.
#5
06/05/2009 (3:42 pm)
I ran the DeletePrefs.bat and it loaded the texture when I opened the game, but it was really choppy. Then, when I entered the world editor, the terrain turned black again. For some reason, this is telling me shader issue, but I can't place my finger on it.

Tom, that log is on it's way. Thanks again.
#6
06/05/2009 (4:49 pm)
I was seeing this in beta 1 in the PhysX demo. Turning off post effects (SSAO, DoF, etc.) fixed the problem.
#7
06/05/2009 (5:13 pm)
You have something weird going on.

In that log you sent me i see stuff like this...

Allocating a 512 px clipmap for a 16384px source texture.
   - 5 base clipstack entries, + 1 cap.
   - Using approximately 7.980000MB of texture memory.

The clipmap code has been absent from Torque 3D since way before beta 1. So i'm not sure what your running there, but i suspect you have some weird mixed version of Torque 3D and old TGEA code.

I would start with testing a clean install of Beta 2.
#8
06/05/2009 (6:09 pm)
We are evaluating Torque3D, so we may not actually have the latest version like I initially thought. I sent an e-mail to GG to see what version they gave us to eval. Thanks guys.
#9
06/05/2009 (6:36 pm)
Oh, and how do you turn off the post effects? The documentation we have is very lacking.
#10
06/05/2009 (6:56 pm)
CTRL and letter "O" brings up the options screen when in-game (not in editor mode), postfx are listed in the lower half, press OK and/or apply afterwards.