Contents

vignettingIntensity

The magnitude of vignette (darkening around edges) effect to apply to the rendered scene.

Declaration

var vignettingIntensity: CGFloat { get set }

Discussion

A vignette effect darkens the edges and corners of the rendered scene, simulating the effect of lens and barrel shape on the image produced by a physical camera. Higher values result in more darkening, and lower values result in a subtler effect. The default value of 0.0 results in no vignetting effect.

This property controls the level of darkening applied; the vignettingPower property controls the area of the rendered image to be darkened.

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

See Also

Adding Stylistic Visual Effects