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
boxlight falloff
gosseyn Offline
Member

Posts: 63
Threads: 7
Joined: Sep 2010
Reputation: 1
#1
boxlight falloff

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.
09-20-2010, 11:34 AM
Find
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#2
RE: boxlight falloff

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.
09-20-2010, 11:45 AM
Website Find
gosseyn Offline
Member

Posts: 63
Threads: 7
Joined: Sep 2010
Reputation: 1
#3
RE: boxlight falloff

thanks for the suggestion jens, good workaround.
09-20-2010, 01:07 PM
Find
gosseyn Offline
Member

Posts: 63
Threads: 7
Joined: Sep 2010
Reputation: 1
#4
RE: boxlight falloff

A quick question : how do i know which boxlight will replace which boxlight if they are both set to replace ?
09-23-2010, 04:08 PM
Find
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#5
RE: boxlight falloff

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..
09-23-2010, 04:11 PM
Website Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#6
RE: boxlight falloff

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.
09-23-2010, 07:52 PM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#7
RE: boxlight falloff

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


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
09-23-2010, 08:56 PM
Find
Armored Cow Offline
Member

Posts: 72
Threads: 3
Joined: Sep 2010
Reputation: 0
#8
RE: boxlight falloff

(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.
09-23-2010, 09:40 PM
Find




Users browsing this thread: 2 Guest(s)