ACES

ACES tone mapping operator.

This operator is an implementation of the ACES Reference Rendering Transform (RRT) combined with the Output Device Transform (ODT) for sRGB monitors (dim surround, 100 nits).

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

True if this tone mapper produces LDR output, i.e. never outputs values above 1.0.

Link copied to clipboard

If true, then this function holds that f(x) = vec3(f(x.r), f(x.g), f(x.b)), which lets Filament build its LUT faster.

Functions

Link copied to clipboard
open override fun close()

Destroys the native tone mapper. ColorGrading.Builder only uses it during build(), so it can be closed afterwards.

Link copied to clipboard
operator fun invoke(color: FloatArray, out: FloatArray? = null): FloatArray

Maps an open domain (or "scene referred") color value to a display domain (or "display referred") color value. Both are in the Rec.2020 color space, with no transfer function applied ("linear Rec.2020").