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.
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.
About the author
Recent Threads
#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.
Torque Owner Bobby Leighton
Imagn' Games