Instance Property

colorFringeStrength

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

Declaration

@property(nonatomic) CGFloat colorFringeStrength;

Discussion

Color fringing applies an effect that separately blurs the color components of each rendered pixel, adding subtle rainbow edge effects to the rendered scene that simulate the effects of chromatic aberration in a physical camera. Higher values create a more pronounced color shift, creating wider rainbow fringes; lower values spread colors across shorter distances, creating a subtler effect. The default value of 0.0 disables the color fringing effect entirely.

This property controls the breadth of color fringing. The colorFringeIntensity property controls the blend factor between the color-fringed and the otherwise-normally-rendered image.

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.

vignettingIntensity

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

vignettingPower

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