Instance Property

vignettingPower

The amount of the rendered scene to darken with a vignette effect.

Declaration

@property(nonatomic) CGFloat vignettingPower;

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 apply the darkening effect to a broader area around the edges of the rendered image, and lower values apply the effect to a smaller area, leaving more of the rendered image at full brightness. The default value of 0.0 results in no vignetting effect.

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

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

See Also

Adding Stylistic Visual Effects

bloomIntensity

The magnitude of bloom effect to apply to highlights in the rendered scene. Animatable.

bloomThreshold

The brightness threshold at which to apply a bloom effect to highlights in the rendered scene. Animatable.

bloomBlurRadius

The radius, in pixels, for the blurring portion of the bloom effect applied to highlights in the rendered scene. Animatable.

colorFringeIntensity

The blend factor for fading the color fringing effect applied to the rendered scene.

colorFringeStrength

The magnitude of color fringing effect to apply to the rendered scene.

vignettingIntensity

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