FORGE. ShaderPass

new ShaderPass(uid, type, shader, textureIDopt)

Used to feed time to shader when uniform is declared
Parameters:
Name Type Attributes Description
uid string unique identifier
type string shader type
shader Object shader object
textureID string <optional>
uniform texture string identifier
Source:

Extends

  • THREE.ShaderPass

Members

position :string

Get ShaderPass position
Type:
  • string
Source:

type :string

Get ShaderPass type
Type:
  • string
Source:

uid :string

Get ShaderPass uid
Type:
  • string
Source:

Methods

render(renderer, writeBuffer, readBuffer, deltaopt, maskActiveopt)

Parameters:
Name Type Attributes Description
renderer THREE.WebGLRenderer
writeBuffer THREE.WebGLRenderTarget
readBuffer THREE.WebGLRenderTarget
delta number <optional>
maskActive boolean <optional>
Source:

FORGE. ShaderPass

Members
Methods