Getting black terrain?
by Gareth Fouche · in Torque Game Engine Advanced · 08/10/2006 (7:32 am) · 10 replies
Hi.
I've just got TSE compiled and have run the terrain and water demo, it shows the objects fine, but the terrain is black. I looked through the docs, they suggest that there might be a problem with the pixel shader, which wouldn't surprise me, my card is a GeForce4TI, however they say search for red error text in the console. I don't get red errors, only some grey text, stuff about how my card 'profile' doesn't exist.
Any ideas or suggestions? I thought there would at least be some ps 1.1 shading going on?
I've just got TSE compiled and have run the terrain and water demo, it shows the objects fine, but the terrain is black. I looked through the docs, they suggest that there might be a problem with the pixel shader, which wouldn't surprise me, my card is a GeForce4TI, however they say search for red error text in the console. I don't get red errors, only some grey text, stuff about how my card 'profile' doesn't exist.
Any ideas or suggestions? I thought there would at least be some ps 1.1 shading going on?
#2
I don't think I do....let me get them and see what happens.
08/10/2006 (7:54 am)
Doh! Thanks, I missed the obvious.... ;)I don't think I do....let me get them and see what happens.
#3
08/10/2006 (8:24 am)
I have the same problem with my Geforce4600TI card using a HEAD version of TSE that i downloaded yesterday. I have the latest Nvidia drivers so that should not be the problem.
#4
08/16/2006 (4:14 am)
Hmmm, updated to latest drivers and still nothing. Completely black. Any other ideas?
#5
There is a thread with some other info on the black/white terrain and a possible solution that could be useful for you.
Bye,
Jacopo
08/16/2006 (4:40 am)
How much video memory does your card have? If I remember well, the current TSE demo (terrain_water_demo) requires at least 256 MB of video memory, IIRC.There is a thread with some other info on the black/white terrain and a possible solution that could be useful for you.
Bye,
Jacopo
#6
Thanks Jacopo.
08/16/2006 (4:44 am)
Ah. It has 128 MB. That could be it then. I'll take a look at that thread.Thanks Jacopo.
#7
Here's what I did for the terrain to show up : I just went in the shaders.cs file and change all the Atlas pixel shader versions to 1.4. A texture does show up, but somehow the multitexturing doesn't seem to work properly. But you do get a textured terrain that appears to be correctly lit.
08/16/2006 (10:25 pm)
I just bought TGE and have a lowly Radeon 8500. It has ps1.4 MAX on it.Here's what I did for the terrain to show up : I just went in the shaders.cs file and change all the Atlas pixel shader versions to 1.4. A texture does show up, but somehow the multitexturing doesn't seem to work properly. But you do get a textured terrain that appears to be correctly lit.
#8
08/17/2006 (2:03 pm)
I got the terrain to work fine even with my old computer. It only has a 2 gig processor, 1 gig or ram, and a 128 meg Nvidia card.
#9
08/17/2006 (7:24 pm)
I love the ''It only has'' lol....
#10
I've played around with the shader a bit, I can get it to output the terrain with the detail texture mapped to it fine, the issue seems to be the actual texture map is coming in as black. Could the texture be in the wrong path somehow? I haven't changed anything from the head copy I downloaded, in that respect. I'm not really sure how TSEs chunked texture stuff works...
08/21/2006 (12:31 am)
I've looked at that thread, the fix it mentions was already in the code.I've played around with the shader a bit, I can get it to output the terrain with the detail texture mapped to it fine, the issue seems to be the actual texture map is coming in as black. Could the texture be in the wrong path somehow? I haven't changed anything from the head copy I downloaded, in that respect. I'm not really sure how TSEs chunked texture stuff works...
Torque 3D Owner Mark Dynna