BBMOD_ChromaticAberrationEffect

A constructor defined in BBMOD_ChromaticAberrationEffect.gml

Extends BBMOD_PostProcessEffect

new BBMOD_ChromaticAberrationEffect([_strength[, _offset]])

Description

Chromatic aberration (post-processing effect).

Arguments

Name Type Description
_strength Real The strength of the effect. Defaults to 1.
_offset Struct.BBMOD_Vec3 Offsets for RGB channels. Defaults to (-1, 0, 1) if undefined.

Properties

Name Description
Offset Offsets for RGB channels. Default value is (-1, 0, 1).
Strength The strength of the effect. Default value is 1.

Inherited properties

Name Description
Enabled If true then the effect is enabled. Default value is true.
PostProcessor The post-processor to which is this effect added or undefined.

Inherited methods

Name Description
destroy Frees memory used by the struct.
draw Applies the effect to given surface.
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.