Frictional Games Forum (read-only)

Full Version: Torches cast light over walls
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

So I am making a dungeon, and when I place a torch (torch_floor), it casts light over walls. I place them outside prison cells and their light appears in the cell (and i don't want it there). Any way to place it without the goddamn light noclipping into everything?
you can use point lights instead of torches or lamps, but what you can do is move the cell a little bit more far away! Or you do another torch in a cell then it doesn't appear that it's no clipping.
Well, tourches casts poinlights that's the issue, the easiest solution would be to move the tourch from the wall, so the light wouldn't reach the other side of it,another solution would be to make your own edited tourch with model editor, just decrease the size of the pointlight or remove it, and then add additional pointlights to places it should normally illuminate in level editor.
A simple way of doing what Sakari said is to use the _nolight version of the torch. It still looks the same, just doesn't emit any light. You can place your own point/spotlight near it and link it with the torch. You should be able to do that directly in the editor. Tinker around with some values for color and size and you can get a pretty good result.

This light clipping is actually somewhat difficult to prevent completely.
Let's hope Soma brings back those shadow casting pointlights!
Yeah, that'd be great. Also if it improves on light clipping, that would be immensely helpful!