API Documentation
Public Attributes | List of all members
nkAstraeus::ToneMappingHablesCurveDescriptor Struct Referencefinal

Provides all parameters to tune the Hables curve to tone map an image. More...

Public Attributes

float _toeLength = 0.05f
 The length of the toe section of the curve. The longer, the softer the transition to the linear section is. At 1.f, takes up half of the curve. 0.f means no toe.
 
float _toeStrength = 0.05f
 The strength of the toe section. Higher values means the toe will pull low values even lower.
 
float _shoulderLength = 0.05f
 The length of the shoulder. Higher values means the shoulder will be applied over a longer value range.
 
float _shoulderStrength = 0.1f
 The strength of the shoulder section. Higher values means that high values will be pulled higher. At 0.f, the shoulder section has no effect. At 1.f, the shoulder is so strong it starts right where the toe section ends.
 
float _shoulderAngle = 1.f
 The angle strength for the shoulder section. Higher means the shoulder will be steeper.
 
float _gamma = 1.f
 The perceptual gamma to apply to the curve.
 

Detailed Description

Provides all parameters to tune the Hables curve to tone map an image.


The documentation for this struct was generated from the following file: