Exponential Decay Color / Scalar



Table of contents:


Description:
These nodes calculate 1 / Scalar^(Distance / NominalDistance).
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