Game Development Community

Bug: .DTS Transparency Material Off-color Above Terrain

by Jordan Parsons · in Torque 3D Professional · 05/08/2009 (10:41 pm) · 8 replies

Problem:
My .DTS tree models display a black leaf color (transparent double-sided texture plains) for any part of the leaf portion of the model that goes above the terrain and into the sky (so to speak).

What I did:
Loaded up, into Torque 3D, a previous .DTS tree model that loads, makes leaves transparent, and works perfectly fine in the latest version of both TGE 1.5.2 and ShowTool Pro.

What I've done since:
Not much, except try to play around with it a bit to see if it's just a visual glitch - still doesn't go away.

My GPU specs:
512mb PCI-Express 2.0 KFA2 GeForce 9800 GT Video Card w/ updated drivers.

Screenshot:
www.gpinteractive.com/images/torque3d_bugs/beta1/bug6/1.jpg

P.S. Also, so I can prove that I own a legit copy of TGE 1.5.2 and don't have to get bashed for using a bootleg copy, anybody know how I can combine my second account that holds 1.5.2? This profile shows I only have 1.4.2 but I talk about and mostly use 1.5.2 contained in my other account :P

#1
05/09/2009 (6:48 am)
Have you adjusted the necessary settings for the materials of those trees? Ie: translucency, alpha, zWrite, etc? Looks like a similar problem mentioned here
#2
05/10/2009 (7:13 pm)
Did you flag the items to be emissive? That worked for mine.
#3
05/10/2009 (7:36 pm)
Well... you don't really want the tree leaves to be emissive... but it does work around the issue.

It looks like we have bugs with alpha blend materials.
#4
05/11/2009 (9:50 am)
hehe

I'd say it's not blending against the skybox. If you look, the coloring is correct exactly along the terrain boundary. This was the same with mine.
#5
05/11/2009 (9:58 am)
Try turning all alpha and blending options off or to 0, and then only use alphatest=1 and alpharef=180 and see what happens.

That should stop it thinking about doing anything fancy and just do the basics of alpha. that's my theory anyhow
#6
05/11/2009 (4:33 pm)
Logged as THREED-431
#7
06/02/2009 (11:43 am)
I believe i have this issue fixed.

Please give it a try and report back.
#8
06/02/2009 (11:48 am)
Thanks Tom,

Actually, the material fix here for the trees actually got it fixed for me - completed this yesterday. As soon as I changed the materials and their settings, all black lines went away.

If I encounter it again, I'll throw in this fix *bookmarked*