Struct colstodian::tonemap::LottesTonemapperParams [−][src]
pub struct LottesTonemapperParams { pub contrast: f32, pub shoulder: f32, pub max_luminance: f32, pub gray_point_in: f32, pub gray_point_out: f32, pub crosstalk: f32, pub saturation: f32, pub cross_saturation: f32, }
Expand description
Parameters for the LottesTonemapper
Fields
contrast: f32
Controls the strength of the toe and shoulder rolloff
shoulder: f32
Controls the shape of the shoulder
max_luminance: f32
The maximum luminance of the input scene
gray_point_in: f32
Average 18% gray point of the input scene. Change this to control exposure.
gray_point_out: f32
The average gray value of the output (ideally 0.18, modify this to control “brightness” slider in settings)
crosstalk: f32
Controls the amount of channel crosstalk
saturation: f32
Controls saturation over the full tonal range
cross_saturation: f32
Controls saturation within channel crosstalk
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LottesTonemapperParams
impl Send for LottesTonemapperParams
impl Sync for LottesTonemapperParams
impl Unpin for LottesTonemapperParams
impl UnwindSafe for LottesTonemapperParams
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<SrcAlpha, DstAlpha> ConvertToAlphaRaw<DstAlpha> for SrcAlpha where
DstAlpha: ConvertFromAlphaRaw<SrcAlpha>,
impl<SrcAlpha, DstAlpha> ConvertToAlphaRaw<DstAlpha> for SrcAlpha where
DstAlpha: ConvertFromAlphaRaw<SrcAlpha>,