[name]

TODO

Constructor

[name]( [page:Camera camera] )

[page:Camera camera] — The shadow's view of the world.

Properties

[property:Camera camera]

The shadow's view of the world.

[property:Float bias]

Shadow map bias, how much to add or subtract from the normalized depth when deciding whether a surface is in shadow.
Default — *0*.

[property:Float radius]

TODO
Default - *0*.

[property:Vector2 mapSize]

The width and height of the shadow map stored in a [page:Vector2 Vector2].
Default — *( 512, 512 )*.

[property:WebGLRenderTarget map]

The depth map generated using the internal camera; a location beyond a pixel's depth is in shadow. Computed internally during rendering.

[property:Matrix4 matrix]

Model to shadow camera space, to compute location and depth in shadow map. Stored in a [page:Matrix4 Matrix4]. Computed internally during rendering.

Methods

[method:LightShadow copy]( [page:LightShadow source] )

Copies value of *source* to this LightShadow object.

[method:LightShadow clone]()

It returns a clone of LightShadow.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]