BBMOD_NormalDistortionEffect

A constructor defined in BBMOD_NormalDistortionEffect.gml

Extends BBMOD_PostProcessEffect

new BBMOD_NormalDistortionEffect([_texture[, _strength]])

Description

Distort screen using a normal map texture (post-processing effect).

Arguments

Name Type Description
_texture Pointer.Texture A normal map texture. Defaults to pointer_null.
_strength Real The strength of the effect. Both positive and negative values can be used. Use 0 to disable the effect. Default value is 1.

Properties

Name Description
Strength The strength of the effect. Both positive and negative values can be used. Use 0 to disable the effect. Default value is 1.
Texture A normal map texture. Default value is pointer_null (and the effect is not applied).

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.