Game Development Community

Light passing through walls

by Leonardo Costa · in Torque Game Engine · 08/08/2007 (2:05 pm) · 1 replies

How can i block the sun light entering the interiors, or how can block a torque light from passing through the walls?

#1
08/08/2007 (8:28 pm)
Use zones inside the interior to restrict lighting to the specific zone. The sun will, automatically, only light faces that are not "inside" the interior (i.e. not contained in a zone). Point lights can be controlled much in the same way by enabling "Restrict to Zone" on the light datablock.

Check out some of the Torque documentation on zoning interiors to help out.