PostProcessPlugin

UI System Global Object

Constructor

new PostProcessPlugin(shaderCode, includeOverlayopt)

Create global post processing shader

Parameters:
NameTypeAttributesDefaultDescription
shaderCodestring
includeOverlayboolean<optional>
false
Example
// create the post process plugin object
 new PostProcessPlugin(shaderCode);

Members

includeOverlay

Properties
TypeDescription
boolean

Should overlay canvas be included in post processing

shader

Properties
TypeDescription
WebGLProgram

Shader for post processing

texture

Properties
TypeDescription
WebGLTexture

Texture for post processing