Instance Property

exposureOffset

A logarithmic bias that adjusts the results of SceneKit’s tone mapping operation, brightening or darkening the visible scene.

Declaration

@property(nonatomic) CGFloat exposureOffset;

Discussion

When using a High Dynamic Range (HDR) camera, SceneKit applies a process called tone mapping to translate the wide range of luminance values in the visible scene to the narrower range of brightness values that can be shown on a display. SceneKit determines a tone mapping curve from the minimumExposure, maximumExposure, exposureOffset, and whitePoint properties, along with a measure of scene luminance.

Use this property to bias the tone mapping curve. The default exposure offset is zero, specifying no bias. Positive values result in a brighter scene, and negative values result in a darker scene.

This property has no effect if the wantsHDR value is NO.

See Also

Adding High Dynamic Range Effects

wantsHDR

A Boolean value that determines whether SceneKit applies High Dynamic Range (HDR) postprocessing effects to a scene.

averageGray

The luminance level to use as the midpoint of a tone mapping curve.

whitePoint

The luminance level to use as the upper end of a tone mapping curve.

minimumExposure

The minimum exposure value to use in tone mapping.

maximumExposure

The minimum exposure value to use in tone mapping.