Blur modes

From Bennu Wiki
Jump to: navigation, search


Description

Blur modes are used to specify the mode of blurring in the blur().

List

Constant - Value - Description
BLUR_NORMAL - 0 - single pixel: considers pixels located to the left and above of each pixel.
BLUR_3X3 - 1 - 3x3: considers all 8 adjacent pixels.
BLUR_5X5 - 2 - 5x5: considers the 24 pixels that surrounds each pixel.
BLUR_5X5_MAP - 3 - 5x5 with additional map: Just as the previous one but using a temporary map.

Examples

Blur sample.png
Samples of differents blur modes


Mod_effects
Globals None
Imported:
M7
Constants BLUR3X3BLUR5X5BLUR5X5MAPBLURNORMALGSCALEBGSCALEGGSCALEGBGSCALEOFFGSCALERGSCALERBGSCALERGGSCALERGB
Functions Blur()Filter()Grayscale()Rgbscale()