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 Light Source through Wall
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#1
Light Source through Wall

I'm having a problem where light sources shine through walls as seen in the example screenshot in the attachments.

I've tried using the "cast shadows" option on both the entity/lightsource and the object it should not shine through.

EDIT: Had to upload the Example Screenshot as i can't upload above 500kb.

If you don't draw first, you don't get to draw at all... -The False Shepherd
11-28-2013, 10:09 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Light Source through Wall

This is unavoidable... have you tried putting the PointLights higher? It's what I usually do Smile

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
11-28-2013, 10:32 PM
Find
daortir Offline
Senior Member

Posts: 422
Threads: 9
Joined: Sep 2013
Reputation: 18
#3
RE: Light Source through Wall

The candles are lighting a lot. Try using the lamp called candle_floor_nolight, which has a flame animation but no pointlight attached. Then you can create a pointlight above the candles to light up the place. Otherwise, stacking up candles looks kinda bad imho : >

11-28-2013, 10:36 PM
Find
rean2 Offline
Junior Member

Posts: 6
Threads: 1
Joined: Nov 2013
Reputation: 1
#4
RE: Light Source through Wall

Point lights shine through walls. What you can do is use a candle with no generated light like daortir said, then use the spotlight and light what u want to light with that, like pointed at the wall behind the candles.
11-29-2013, 12:20 AM
Find
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#5
RE: Light Source through Wall

Using the model editor and just removing the point light is also an option, please just don't save over the original file =)
Put it in the CS folder and make sure to add

<Directory Path="/custom_stories" AddSubDirs="true" />


to your resources.cfg file

[Image: 23778.png]
11-29-2013, 01:14 AM
Website Find
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#6
RE: Light Source through Wall

Alrighty guys. Thanks for your help! Appreciate it :]

If you don't draw first, you don't get to draw at all... -The False Shepherd
11-29-2013, 07:42 AM
Find




Users browsing this thread: 1 Guest(s)