Module: ol/webgl/PostProcessingPass

ol/webgl/PostProcessingPass


Classes

WebGLPostProcessingPass

Type Definitions

Options{Object}

Properties:
Name Type Argument Description
webGlContext WebGLRenderingContext

WebGL context; mandatory.

scaleRatio number <optional>

Scale ratio; if < 1, the post process will render to a texture smaller than the main canvas that will then be sampled up (useful for saving resource on blur steps).

vertexShader string <optional>

Vertex shader source

fragmentShader string <optional>

Fragment shader source

uniforms Object.<string, module:ol/webgl/Helper~UniformValue> <optional>

Uniform definitions for the post process step