ericw-tools/light
Kevin Shanahan a8d8150791 light: implement the -gate option
Precalculate the distance at which lights will fade to zero brightness.
For lights with inverse falloff, use the gate value to determine the
cut-off distance.  Use this value to cull samples and avoid the ray
tracing overhead.

Hopefully not too controversially, I am going to default this to "on" with
a gate value of 0.001. Unless you have > 1000 lights contributing
fractional light values across your map, this is not going to make any
visible difference.

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-03 13:36:52 +10:30
..
entities.c light: implement the -gate option 2013-03-03 13:36:52 +10:30
light.c light: implement the -gate option 2013-03-03 13:36:52 +10:30
litfile.c light: better variable names in WriteLitFile 2013-03-02 11:27:47 +10:30
ltface.c light: implement the -gate option 2013-03-03 13:36:52 +10:30
trace.c trivial: remove some redundant assignments and unused variables 2012-01-06 21:34:47 +10:30