Description
The Tonemap
property of the SceneCamera
class provides access to the tonemapping properties of the camera. Tonemapping is a technique used in rendering to map a set of colors to another, often to approximate the appearance of high dynamic range images in a medium that has a more limited dynamic range.
Usage
To access and modify the tonemapping settings of a SceneCamera
, use the Tonemap
property. This property returns a TonemapAccessor
object, which provides methods and properties to adjust the tonemapping settings.
Example
// Example of accessing the Tonemap property
SceneCamera camera = new SceneCamera();
var tonemapSettings = camera.Tonemap;
// Adjust tonemapping settings
// tonemapSettings.Exposure = 1.0f;
// tonemapSettings.Contrast = 1.2f;