Exponential Decay Color / Scalar



Table of contents:


Description:
These nodes compute the deepening color of a tinted transparent surface or the opacity of a simple volume, such as colored glass, dyed water, or a ball of fog. They use an exponential falloff that closely matches the real-world effect.
Location:
These nodes will be added to the "Pom's Nodes/Math" menu under the names "Exponential Decay (Color)" and "Exponential Decay (Scalar)".
Settings:

Distance:
The distance at which you want to calculate the decay.

Nominal Distance:
A nominal distance, which increases/decreases the range of decay.

Color / Scalar:
An input color/scalar upon which the decay will be calculated (see formula in the description).

Clamp:
Will clamp the output scalar/color channels to values between 0 and 1.


Exponential Decay