[Beta 2 Bug]: Decal Roads Cast Line Shadows
by Henry Todd · in Torque 3D Professional · 05/25/2009 (8:47 pm) · 6 replies
I added a 2km decal road to a level and found that it casts a few strange shadows that don't seem to be directly linked to the road's position or shape. Removing the road from the scene removes these shadows, and adding a new road in its place brought them back.

They're pretty inconsistent.. you have to fly around a bit and try different angles/positions for them to appear.

They're pretty inconsistent.. you have to fly around a bit and try different angles/positions for them to appear.
About the author
Recent Threads
#2
05/26/2009 (6:54 am)
It took a bit of searching but yeah, I found this too. Huge, dark, tyre mark sort of shadows, but they only seem to appear at one part of my road/map, so I wonder if it's linked to the terrain? Also doesn't appear to happen on my smaller roads.
#3
In DecalRoad::prepRenderImage() add this at the top...
... that should fix it.
05/26/2009 (12:23 pm)
Yea... dumb bug.In DecalRoad::prepRenderImage() add this at the top...
if ( state->isShadowPass() )
return false;... that should fix it.
#4
05/26/2009 (1:03 pm)
Woot :-). Good catch everyone. This solved our problem as well.
#5
:)
05/26/2009 (1:53 pm)
Yep, that seems to have fixed the problem area I had. No longer any sign of dark shadowy lines.:)
#6
05/26/2009 (3:37 pm)
Sweet... thanks guys!
Torque 3D Owner J.C. Smith