Frictional Games Forum (read-only)
Light going through walls and god rays? - 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: Light going through walls and god rays? (/thread-14002.html)



Light going through walls and god rays? - xXCommanderBaconXx - 03-15-2012

Light is going through my wall, is this normal, or is there a way to fix this?
Example:
[Image: 3xXMw.png] And I was also wondering how I could get some God Rays coming through the windows similar to this :3

[Image: rays-of-god.jpg]

If you could help me that'd be brilliant Big Grin


RE: Light going through walls and god rays? - Your Computer - 03-15-2012

It's normal for point lights. You need billboards for light rays.


RE: Light going through walls and god rays? - Kman - 03-15-2012

To fix the light going through the walls you're either gonna have to resize your point light so it doesn't bleed through or do some trickery with shadow casters.


RE: Light going through walls and god rays? - xXCommanderBaconXx - 03-15-2012

Thanks guys, you helped me :3


RE: Light going through walls and god rays? - Mine Turtle - 03-15-2012

might want to use a spotlight for the window aswell, and when doing that, make sure ''cast shadows'' is ticked. this makes the wall absorb the light instead of bleeding.


RE: Light going through walls and god rays? - Stepper321 - 03-15-2012

also add billboards to the window, it makes it look nice.


RE: Light going through walls and god rays? - Datguy5 - 03-16-2012

You could also use boxlights and then make them darker.


RE: Light going through walls and god rays? - SilentStriker - 03-17-2012

(03-16-2012, 07:46 PM)Datguy5 Wrote: You could also use boxlights and then make them darker.
I mostly use one Boxlight per map just to make it a little lighter than just pitch black and to tint the map a little bit. But other than that I use point lights