Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Level Editor Help Torches cast light over walls
YourPersonalBrute Offline
Junior Member

Posts: 5
Threads: 3
Joined: Mar 2014
Reputation: 0
#1
Torches cast light over walls

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?
03-12-2014, 06:06 PM
Find
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#2
RE: Torches cast light over walls

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.
(This post was last modified: 03-12-2014, 06:30 PM by Radical Batz.)
03-12-2014, 06:29 PM
Find
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#3
RE: Torches cast light over walls

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.
(This post was last modified: 03-12-2014, 09:27 PM by Red.)
03-12-2014, 09:27 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Torches cast light over walls

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.

(This post was last modified: 03-12-2014, 10:06 PM by Mudbill.)
03-12-2014, 10:06 PM
Find
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#5
RE: Torches cast light over walls

Let's hope Soma brings back those shadow casting pointlights!
03-13-2014, 02:05 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: Torches cast light over walls

Yeah, that'd be great. Also if it improves on light clipping, that would be immensely helpful!

03-13-2014, 05:25 PM
Find




Users browsing this thread: 2 Guest(s)