public interface ToneMapper
ToneMapper
is an abstraction of a Tone Mapping operator to be applied on a Color
.Modifier and Type | Method and Description |
---|---|
Color |
applyToneMapping(Color color)
Applies Tone Mapping to
color . |
static ToneMapper |
filmicCurve()
Returns a
ToneMapper that implements the Filmic Curve Tone Mapping operator. |
static ToneMapper |
linear()
Returns a
ToneMapper that implements the Linear Tone Mapping operator. |
static ToneMapper |
reinhard()
Returns a
ToneMapper that implements the Reinhard Tone Mapping operator. |
Color applyToneMapping(Color color)
color
.
Returns a Color
instance denoting the Tone Mapped version of color
.
color
- the Color
to apply Tone Mapping toColor
instance denoting the Tone Mapped version of color
static ToneMapper filmicCurve()
ToneMapper
that implements the Filmic Curve Tone Mapping operator.
This Tone Mapping operator takes care of Gamma Correction.
ToneMapper
that implements the Filmic Curve Tone Mapping operatorstatic ToneMapper linear()
ToneMapper
that implements the Linear Tone Mapping operator.
This Tone Mapping operator does not take care of Gamma Correction.
ToneMapper
that implements the Linear Tone Mapping operatorstatic ToneMapper reinhard()
ToneMapper
that implements the Reinhard Tone Mapping operator.
This Tone Mapping operator does not take care of Gamma Correction.
ToneMapper
that implements the Reinhard Tone Mapping operator