Frictional Games Forum (read-only)
boxlight falloff - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: boxlight falloff (/thread-4607.html)



boxlight falloff - gosseyn - 09-20-2010

It seems that whatever i try, i can't have a good falloff effect around the borders of the boxlight, it looks like any i try gives the same to much hard transition. I even created one within photoshop with a greater falloff but its the same. I also played with the alpha of the color, thinking it was maybe the problem, but it looks like its not. Any help? Thanks.


RE: boxlight falloff - jens - 09-20-2010

You can't have falloffs for boxlights. You have to position them well instead and/or at times use add instead of replace, but take notice that add is slower than replace. You can make a "hack" by making 3-4 narrow boxes, that gradually changes color, so you get a fake smooth transition if you really have to.


RE: boxlight falloff - gosseyn - 09-20-2010

thanks for the suggestion jens, good workaround.


RE: boxlight falloff - gosseyn - 09-23-2010

A quick question : how do i know which boxlight will replace which boxlight if they are both set to replace ?


RE: boxlight falloff - jens - 09-23-2010

Good question, can't recall. I think that it depends on which boxlight you are standing in, I have some memory of it behaving like that, but it could have been a bug..


RE: boxlight falloff - Thomas - 09-23-2010

There is a prio for lightbox, at least in engine. I cannot say for sure if it is in the editor.

Also, add is always drawn after replace.


RE: boxlight falloff - Frontcannon - 09-23-2010

Another question regarding box lights: Whenever I read a tut on that, the author (in this case Luis) writes about placing a super 'faint' box light..

Whenever I try that, I end up with a lighting in my levels as if I had a mercury arc lamp instead of a lantern (meaning very VERY bright). Is there an Alpha setting that corresponds to this? The Alpha in color doesn't do anything Sad


RE: boxlight falloff - Armored Cow - 09-23-2010

(09-23-2010, 08:56 PM)Frontcannon Wrote: Another question regarding box lights: Whenever I read a tut on that, the author (in this case Luis) writes about placing a super 'faint' box light..

Whenever I try that, I end up with a lighting in my levels as if I had a mercury arc lamp instead of a lantern (meaning very VERY bright). Is there an Alpha setting that corresponds to this? The Alpha in color doesn't do anything Sad

Alpha controls the specular light. You simply lower all of the values to make darker colors. Darker colors = less bright.