Game Development Community

Fog and shapes problem

by Pavel Tovarys · in Torque Game Engine Advanced · 09/20/2007 (3:56 pm) · 3 replies

Hello,

I try to port our finished game from TGE to TGEA. I have a problem with the shapes - they looks like, that a fog
color is applied on them and I have no idea why. They look as white models.
I have no big experience with TGEA, so I would be very glad to any help. You can see this screenshot:
www.300ad.com/temp/ukazka10.jpg

Thank you,
Tovy..

#1
09/20/2007 (3:58 pm)
Hmmm... are those models scaled up at all? It might be a lighting issue as well.
#2
09/20/2007 (4:02 pm)
Yes, they are scalled, they size are about 25% of their original size
#3
09/20/2007 (6:01 pm)
Tovy,

I've posted a bug that might be related to what you are getting:
www.garagegames.com/mg/forums/result.thread.php?qt=67039

In my case I was seeing a reduction of proper fog color as the object was scaled up. I suspected that the same problem would cause an increase of fog color for objects that were scaled down and your case appears to verify that.

The standard procedural shaders do a certain calculation to compute the fog color but it seems to get thrown off by scaled models. So far I haven't managed to work out what's going on and no one's responded to my post either. The most immediate work around might be to scale the models before exporting if that's a viable option.