-
public class ToneMapperInterface for tone mapping operators. A tone mapping operator, or tone mapper, is responsible for compressing the dynamic range of the rendered scene to a dynamic range suitable for display. In Filament, tone mapping is a color grading step. ToneMapper instances are created and passed to the ColorGrading::Builder to produce a 3D LUT that will be used during post-processing to prepare the final color buffer for display. Filament provides several default tone mapping operators that fall into three categories:
- Configurable tone mapping operators
- Fixed-aesthetic tone mapping operators
- Debug/validation tone mapping operators
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classToneMapper.LinearLinear tone mapping operator that returns the input color but clamped tothe 0..1 range. This operator is mostly useful for debugging.
public classToneMapper.ACESACES tone mapping operator. This operator is an implementation of theACES Reference Rendering Transform (RRT) combined with the Output DeviceTransform (ODT) for sRGB monitors (dim surround, 100 nits).
public classToneMapper.ACESLegacyACES tone mapping operator, modified to match the perceived brightnessof FilmicToneMapper. This operator is the same as ACESToneMapper butapplies a brightness multiplier of ~1.6 to the input color value totarget brighter viewing environments.
public classToneMapper.Filmic"Filmic" tone mapping operator. This tone mapper was designed toapproximate the aesthetics of the ACES RRT + ODT for Rec.709and historically Filament's default tone mapping operator. It existsonly for backward compatibility purposes and is not otherwise recommended.
public classToneMapper.GenericGeneric tone mapping operator that gives control over the tone mappingcurve. This operator can be used to control the aesthetics of the finalimage. This operator also allows to control the dynamic range of thescene referred values.The tone mapping curve is defined by 5 parameters:
- contrast: controls the contrast of the curve
- midGrayIn: sets the input middle gray
- midGrayOut: sets the output middle gray
- hdrMax: defines the maximum input value that will be mapped tooutput white
-
Method Summary
Modifier and Type Method Description longgetNativeObject()-
-
Method Detail
-
getNativeObject
long getNativeObject()
-
-
-
-