ToneMappingMode enum

Tone mapping operator applied when resolving the linear HDR scene color to the display-referred image (see Scene.toneMapping).

The integer values are wire-compatible with the tone_mapping_mode uniform in the tone-mapping fragment shader; don't reorder.

Inheritance
Available extensions

Values

pbrNeutral → const ToneMappingMode

Khronos PBR Neutral. Preserves base-color hue/saturation and only rolls off highlights. Good default for product/configurator rendering. This is the Scene default.

aces → const ToneMappingMode

ACES filmic (Stephen Hill fit). The classic games-y look; tends to desaturate and shift hue in the highlights.

reinhard → const ToneMappingMode

Reinhard (c / (1 + c)). Cheap; flattens highlights.

linear → const ToneMappingMode

No tone curve; the lighting result is just exposed and clamped to [0, 1].

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ToneMappingMode>
A constant List of the values in this enum, in order of their declaration.