LittleJS Post Processing Plugin
- Supports shadertoy style post processing shaders
- call initPostProcess to set it up
- Source
Members
(static) glPostIncludeOverlay :boolean
Should overlay canvas be included in post processing
Type:
- boolean
- Source
(static) glPostShader :WebGLProgram
Shader for post processing
Type:
- WebGLProgram
- Source
(static) glPostTexture :WebGLTexture
Texture for post processing
Type:
- WebGLTexture
- Source
Methods
(static) initPostProcess(shaderCode, includeOverlayopt)
Set up a post processing shader
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
shaderCode | string | |||
includeOverlay | boolean | <optional> | false |
- Source