Skip to main content
Version: Phaser v4.0.0

FilterBlurLow

A RenderNode that renders the BlurLow filter effect, which applies a single-pass Gaussian blur to the input texture using a small sample kernel.

This is the lowest quality tier of the blur filter family. It uses fewer texture samples than the medium and high quality variants, making it faster to execute on the GPU at the cost of a less smooth result. It is well suited to subtle or fast-moving blur effects where visual fidelity is less critical than rendering performance.

This node should not be used directly. It is selected and invoked automatically by the FilterBlur RenderNode based on the quality setting of the blur controller that is currently being processed.

Constructor

new FilterBlurLow(manager)

Parameters

nametypeoptionaldescription
managerPhaser.Renderer.WebGL.RenderNodes.RenderNodeManagerNoThe manager that owns this RenderNode.

Scope: static

Extends

Phaser.Renderer.WebGL.RenderNodes.BaseFilterShader

Source: src/renderer/webgl/renderNodes/filters/FilterBlurLow.js#L12
Since: 4.0.0

Inherited Methods

From Phaser.Renderer.WebGL.RenderNodes.BaseFilterShader:

From Phaser.Renderer.WebGL.RenderNodes.RenderNode:


Public Methods

setupUniforms

<instance> setupUniforms(controller, drawingContext)

Description:

Sets the WebGL shader uniforms required by the blur fragment shader.

Called once per render pass before the blur is drawn. It uploads the current render target dimensions as resolution, the blur spread amount as strength, the tint as color, and the directional blur axis as offset (a two-component vector containing the horizontal and vertical offset values from the controller).

Parameters:

nametypeoptionaldescription
controllerPhaser.Filters.BlurNoThe Blur filter controller providing the uniform values.
drawingContextPhaser.Renderer.WebGL.DrawingContextNoThe current drawing context, used to read the render target dimensions.

Overrides: Phaser.Renderer.WebGL.RenderNodes.BaseFilterShader#setupUniforms

Source: src/renderer/webgl/renderNodes/filters/FilterBlurLow.js#L42
Since: 4.0.0


Inherited Members

From Phaser.Renderer.WebGL.RenderNodes.BaseFilterShader:

From Phaser.Renderer.WebGL.RenderNodes.RenderNode: