Class: ShadowMapPass

zen3d.ShadowMapPass()

new ShadowMapPass()

Shadow map pre pass.
Source:

Members

getDepthMaterial :function

Get depth material function. Override this to use custom depth material.
Type:
  • function
Source:

getDistanceMaterial :function

Get distance material function. Override this to use custom distance material.
Type:
  • function
Source:

Methods

render(glCore, scene)

Render shadow map.
Parameters:
Name Type Description
glCore zen3d.WebGLCore
scene zen3d.Scene
Source: