Instance Property

contrast

An adjustment factor to apply to the overall visual contrast of the rendered scene.

Declaration

var contrast: CGFloat { get set }

Discussion

A value of 0.0 (the default) leaves the rendered scene unchanged. Positive values increase contrast between bright and dark areas, and negative values reduce contrast, shifting the rendered scene towards a uniform gray.

To enable this behavior, you must first enable the wantsHDR setting.

See Also

Adjusting Rendered Colors

var saturation: CGFloat

An adjustment factor to apply to the overall color saturation of the rendered scene.

var colorGrading: SCNMaterialProperty

A texture for applying color grading effects to the entire rendered scene.