Game Development Community

Minor terrain lighting bug in 1.4

by Jukka Kokkonen · in Torque Game Engine · 11/23/2005 (1:18 pm) · 0 replies

Just downloaded the TGE 1.4 and noticed a minor lighting bug.

When you add some of the test interiors to the tutorial scene and then relight the scene, you get no terrain shadow from the interiors. If you rotate the objects a bit and then relight, they will cast the shadow - or an alternative solution is to change the sun azimuth to something else than the default 0.

So apparently, there's something slightly non-functional about sun azimuth 0 (/90/180/270?) and objects/interior surfaces with no rotation.

I think this is a totally minor bug that can be easily fixed with some non-zero azimuth, but the chance of noticing it is quite high if one tests adding the interiors to the tutorial base mission...

However, this bug may actually appear in some other cases too... Possibly when the azimuth roughly equals the objects rotation (or the shadow casting surface rotation?)... If this is the case, then the bug is a bit more relevant.

Anyway, Apart from this minor thing, I like the new 1.4 release. (Specifically the new scene relight code that does not crash most of the time, like it used to in 1.3. ;-)