Constructor
new ShadowMapPass()
Members
getDepthMaterial :function
Get depth material function. Override this to use custom depth material.
Type:
- function
getDistanceMaterial :function
Get distance material function. Override this to use custom distance material.
Type:
- function
getGeometry :Null|function
Get geometry function for shadow render options.
Type:
- Null |
function
ifRender :function
The if render function for shadow render options.
Type:
- function
shadowLayers :Null|Array
Define which render layers will produce shadows. If the value is Null, it means that all render layers will produce shadows.
Type:
- Null |
Array
- Default Value
- null
transparentShadow :Boolean
Whether transparent objects can cast shadows.
Type:
- Boolean
- Default Value
- false
Methods
render(renderer, scene)
Render shadow map.
Parameters:
Name | Type | Description |
---|---|---|
renderer | t3d. | |
scene | t3d. |