struct render::ChromaticAberrationSettings

Render thread variant of ChromaticAberrationSettings.

Public

Constructors

ChromaticAberrationSettings

ChromaticAberrationSettings() = default

Fields

FringeTexture

TextureType FringeTexture

Optional texture to apply to generate the channel shift fringe, allowing you to modulate the shifted colors.

This texture should be 3x1 size, where the first pixel modules red, second green and third blue channel. If using the complex aberration effect you can use a larger texture, Nx1 size.

Enabled

bool Enabled

Enables or disables the effect.

Type

Type of algorithm to use for rendering the effect.

ShiftAmount

float ShiftAmount

Determines the brightness of the lens flare effect.

Value of 1 means the lens flare will be displayed at the same intensity as the scene it was derived from. In range [0, 1], default being 0.05.

Protected

Methods

~TChromaticAberrationSettings<IsRenderProxy>

~TChromaticAberrationSettings<IsRenderProxy>() = default

*********************************************************************

~ChromaticAberrationSettingsBase

~ChromaticAberrationSettingsBase() noexcept = default