Frictional Games Forum (read-only)

Full Version: Blog: "tech feature: light masking"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Yes, that problem has bothered me too many times.
So does each light have their own shape, or do they get parented to a single shape?
(12-03-2010, 12:04 AM)WindexGlow Wrote: [ -> ]So does each light have their own shape, or do they get parented to a single shape?
You create a box shape and can then attach one or several lights to it.
Does the light mask have to be a fully closed cube/shape, or can you leave one side open, for example, to allow light to spill out of a doorway, but lightmask the other walls?
(12-06-2010, 09:47 AM)hollowleviathan Wrote: [ -> ]Does the light mask have to be a fully closed cube/shape, or can you leave one side open, for example, to allow light to spill out of a doorway, but lightmask the other walls?

What you simply to is to make a box that cuts a corner and is then large enough to encompass the rest of the light.
Oh, duh. That makes more sense.