The Rate
property in the Tonemapping
class specifies the speed at which the auto exposure adapts to changes in scene brightness. This property is part of the auto exposure settings and is only applicable when auto exposure is enabled.
The Rate
property in the Tonemapping
class specifies the speed at which the auto exposure adapts to changes in scene brightness. This property is part of the auto exposure settings and is only applicable when auto exposure is enabled.
To use the Rate
property, ensure that the AutoExposureEnabled
property is set to true
. The Rate
value should be set within the range of 1 to 10, with a default increment of 0.01. This allows for fine-tuning the responsiveness of the auto exposure adjustment.
// Example of setting the Rate property Tonemapping tonemapping = new Tonemapping(); tonemapping.AutoExposureEnabled = true; tonemapping.Rate = 5.0f; // Sets the adaptation rate to a moderate speed