Class: ShaderPostPass

zen3d.ShaderPostPass(shader)

new ShaderPostPass(shader)

Shader post pass.
Parameters:
Name Type Description
shader Object Shader object for the pass.
Properties
Name Type Attributes Default Description
vertexShader string Vertex shader GLSL code.
fragmentShader string Fragment shader GLSL code.
defines Object <optional>
{} Defines of the shader.
uniforms Object <optional>
{} Uniforms of the shader.
Source:

Methods

render(glCore)

Render the post pass.
Parameters:
Name Type Description
glCore zen3d.WebGLCore
Source: