struct MotionBlurSettings

Settings that control the motion blur effect.

Public

Constructors

MotionBlurSettings

MotionBlurSettings() noexcept = default

Methods

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Fields

Enabled

bool Enabled

Enables or disables the motion blur effect.

Domain

Determines which parts of the scene will trigger motion blur.

Filter

Type of filter to use when filtering samples contributing to a blurred pixel.

Quality

Determines the number of samples to take during motion blur filtering.

Increasing this value will yield higher quality blur at the cost of the performance.

MaximumRadius

float MaximumRadius

Determines the maximum radius over which the blur samples are allowed to be taken, in percent of the screen width (e.g. with 1% radius, on 1920x1028 resolution the maximum radius in pixels will be 1920 * 0.01 = 20px).

This clamps the maximum velocity that can affect the blur, as higher velocities require higher radius. Very high values can adversely affect performance as cache accesses become more random.