R
Release
Guest
I'm really embarrassed that I can't figure this out myself. I've read Valve's lighting doc about constant, linear and quadratic lights, and how the "50%" and "0%" values are easier to use and would override the first values if used..
I just want to make a Light that fades to complete black as the light gets too far from the source. So, let's say I want this light to be bright at the source, and fade out for 512 units, and then completely fade to black past that 512 unit mark.
How do I do that? I've tried using the constant/linear/quadratic values, but whatever combination I use, the light will dim down to very dark, but instead of fading to black, will continue on forever with very dark, but barely visible light. Also, if I use the 50% and 0% values, for example if I specify that it should fade to 50% at 256 units, and fade to 0% brightness at 512 units, it will indeed fade down to 50% brightness at 256 units, but at 512 units, it won't fade to 0% brightness. Instead, it will fade to very dark, but still barely illuminated, and then that barely visible light will continue on forever again.
It would seem that the "Hard falloff" and "Maximum Distance" values would be the answer to this problem (sort of), but it seems like both of the values are broken, or I just am putting the wrong values in them? (I assumed they both used values as units in Hammer, like, I assumed "512" in "Maximum Distance" would limit a light to spread out for 512 units and then stop, but putting "512" in that value seemed to do nothing)
Please, can someone tell me how to make a light that fades to black? It's driving me crazy. Thanks >_<
I just want to make a Light that fades to complete black as the light gets too far from the source. So, let's say I want this light to be bright at the source, and fade out for 512 units, and then completely fade to black past that 512 unit mark.
How do I do that? I've tried using the constant/linear/quadratic values, but whatever combination I use, the light will dim down to very dark, but instead of fading to black, will continue on forever with very dark, but barely visible light. Also, if I use the 50% and 0% values, for example if I specify that it should fade to 50% at 256 units, and fade to 0% brightness at 512 units, it will indeed fade down to 50% brightness at 256 units, but at 512 units, it won't fade to 0% brightness. Instead, it will fade to very dark, but still barely illuminated, and then that barely visible light will continue on forever again.
It would seem that the "Hard falloff" and "Maximum Distance" values would be the answer to this problem (sort of), but it seems like both of the values are broken, or I just am putting the wrong values in them? (I assumed they both used values as units in Hammer, like, I assumed "512" in "Maximum Distance" would limit a light to spread out for 512 units and then stop, but putting "512" in that value seemed to do nothing)
Please, can someone tell me how to make a light that fades to black? It's driving me crazy. Thanks >_<