t3d. ShaderPostPass

Shader post pass.

Constructor

new ShaderPostPass(shader)

Parameters:
NameTypeDescription
shaderObjectShader object for the shader material.
Properties
NameTypeDescription
nameStringName of the shader.
definesObjectDefines of the shader.
uniformsObjectUniforms of the shader.
vertexShaderStringVertex shader GLSL code.
fragmentShaderStringFragment shader GLSL code.

Methods

dispose()

Dispose the post pass.

render(renderer)

Render the post pass.
Parameters:
NameTypeDescription
renderert3d.ThinRenderer