Game Development Community

Spot Lights Disapear.

by Thomas Shaw · in Torque Game Engine · 04/09/2006 (8:44 pm) · 1 replies

I imagine this is a known issue and if there have been forum posts about this issue already I apologize. I skimmed through the forums and didn't find anything so I thought I would post and ask.

I have a large enviorment that I am trying to get well lit. I am using a collection of about 10 different types of spotlights each with thier own datablock. The total lights in the scene probably number around 30 or 40 (some lights share the same datablock).

Now, I keep running into this problem where if 1 spotlight is within a certain proximity to another the origional one stops working, it just sort of turns off and stops lighting that dts object.

It's really frustating because I am trying to light this one dts object and with 2 spot lights and 1 of them keeps turning off.

#1
04/10/2006 (10:32 am)
Hi Thomas,

DTS objects can be lit by a maximum of 8 lights. The default number of lights is 3, which you can bump up by increasing the pref '$pref::OpenGL::maxHardwareLights'.

When using spotlights the number of available lights can be used up with spots that are not directly facing the object.

-John