Natural Logarithm node

Access: Nodes > Math > Natural Logarithm

Computes the natural logarithm of the input. The input is clamped above zero to avoid undefined results — you will not get black pixels from zero or negative inputs. The inverse of Exponential.

Input (RGB) Output (RGB)
1.0, 1.0, 1.0 0.0, 0.0, 0.0
2.71828, 2.71828, 2.71828 1.0, 1.0, 1.0
0.0, 0.0, 0.0 -9.21034, -9.21034, -9.21034

Natural Logarithm node inputs

Input

The positive value to compute the base-e logarithm for (clamped internally to ≥ 0.0001).

Natural Logarithm node outputs

Output

The natural logarithm of the input value.