Game Development Community

TGEA 1.7 FXSunlight funkyness

by Guy Allard · in Torque Game Engine Advanced · 05/21/2008 (12:02 pm) · 2 replies

The localFlare bitmap for the FXSunlight decides not to draw at random moments.

I can reproduce this consistently by:
- Fire up the T3D demo.
- Launch mission
- F11 for world editor
- F4 for editor creator, and make a new fxSunlight
- change its localFlareBitmap to common/lighting/lightFallOffMono so we can see when its drawn
- F3 for inspector
- raise sgSun up by changing its elevation to 60

Exit world editor. Look around. For me the local flare is not drawn. Hit F8 to go to freefly mode, move around. The local flare flashes on and off at random times, which don't seem to have anything to do with LOS.

Now move back some distance until you can get both the building and the sun in view. If any part of the building is on-screen, the flare is not drawn. move the view so that the building is offscreen, but the sun on-screen, and it will (often) be drawn.

#1
05/22/2008 (2:18 pm)
If your talking about the sun that is in the mission by default on like the T3D demo, then it doesn't show a flare you want fxSunlight it will attach itself to the sun, or you can uncheck that but I'm sure you would not want to:)
#2
07/21/2008 (1:17 pm)
I have this issue as well. It seems that the fxSunlight gets blocked out by the bounding box of a object.