ericw-tools/include/common
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
..
bspfile.h Import initial sources 2006-08-28 23:58:10 +09:30
cmdlib.h Use offsetof() consistently 2012-01-06 21:32:53 +10:30
lbmlib.h Import initial sources 2006-08-28 23:58:10 +09:30
log.h common: constify init_log filename argument 2013-02-11 20:10:17 +10:30
mathlib.h light: implement the -gate option 2013-03-03 13:36:52 +10:30
polylib.h Import initial sources 2006-08-28 23:58:10 +09:30
scriplib.h Import initial sources 2006-08-28 23:58:10 +09:30
threads.h common: make logprint properly interrupt the thread progress display 2013-02-08 16:37:48 +10:30
trilib.h Import initial sources 2006-08-28 23:58:10 +09:30
wadlib.h Import initial sources 2006-08-28 23:58:10 +09:30