Game Development Community

Light flickering in .mis file.

by 840LABS · in Torque 3D Professional · 05/12/2010 (12:04 pm) · 4 replies

Hello community,

I have a level object exported as a single dae file. The object is a outdoor arena. I create a TSStatic mesh with this arena dae file, and place this object in the mis scene. When i add point lights to light this mesh, the point lights flicker, and turn on and off unexpectedly. This happens when navigating around the level, when the camera view is changing.

I am also using a sun light in my scene.

Does anyone out there know the best way to resolve the light flickering and turning on and off?
Is there a limit to how many lights can affect one object?

As a workaround I broke up my stadium into smaller tileable pieces, which resolved the lighting issues. But doing this has reduced my FPS by about 10 FPS.

Any help or information would be appreciated.

Thanks!

#1
05/13/2010 (12:54 pm)
I had a similar experience which appeared to be related to having too many lights with shadow detail enabled. Turning the shadow option off for all of the lights that did not really demand it fixed the problem for me.
#2
05/13/2010 (1:11 pm)
If you're using basic lighting it's working as intended... as it only handles ?4? lights at any one time.

Advanced lighting should allow this but there are a few fringe issues with it if I recall correctly.

One of the fring issues (if I'm recalling correctly) and to answer you is that for each light affecting an object is a seprate render for that object. So is there a limit? No, but each light will be an added strain on your system.
#3
06/05/2010 (11:22 am)
logged: TQA-227
#4
06/10/2010 (12:54 pm)
Confirmed as fixed for 1.1 Beta2.