Frictional Games Forum (read-only)
[LVL ED] Light Source through Wall - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LVL ED] Light Source through Wall (/thread-23966.html)



Light Source through Wall - RaideX - 11-28-2013

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.


RE: Light Source through Wall - The chaser - 11-28-2013

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


RE: Light Source through Wall - daortir - 11-28-2013

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 : >


RE: Light Source through Wall - rean2 - 11-29-2013

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.


RE: Light Source through Wall - ingedoom - 11-29-2013

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


RE: Light Source through Wall - RaideX - 11-29-2013

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