Creates an exponential falloff between the attenuation start and stop distances, according to a specified exponent. The distance measurement begins at the source of the current ray (e.g., when used in a light shader, the distance measurement starts at the light location).
The exponential function is f(x) = 1/(distance^(exponent)).
For a standard inverse square falloff light, the exponent is 2.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License