Constructor
new PostProcessPlugin(shaderCode, includeOverlayopt)
Create global post processing shader
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
shaderCode | string | |||
includeOverlay | boolean | <optional> | false |
- Source
Example
// create the post process plugin object
new PostProcessPlugin(shaderCode);
Members
includeOverlay
PropertiesType | Description |
---|---|
boolean | Should overlay canvas be included in post processing |
- Source
shader
PropertiesType | Description |
---|---|
WebGLProgram | Shader for post processing |
- Source
texture
PropertiesType | Description |
---|---|
WebGLTexture | Texture for post processing |
- Source