Creates a new shadow casting light used for rendering a shadow texture.
The renderer to use.
The light which is casting the shadow.
The options to use when creating the shadow texture.
The camera to follow when using directional lights.
Value indicating if the shadow should follow the specified camera. If the camera is not set, the main camera will be used as default. Only available when using directional lights.
The area in units of the shadow when using directional lights. Reducing the area will improve the quality of the shadow.
The softness of the edges for the shadow.
The rendered filter texture.
The light view projection matrix.
The rendered shadow texture.
Clears the rendered shadow texture.
Destroys the shadow casting light and it's used resources.
Updates the light view projection matrix.
Returns a value indicating if high quality (32-bit precision) shadows is supported by current platform.
The renderer to use.
Returns a value indicating if medium quality (16-bit precision) shadows is supported by current platform.
The renderer to use.
Generated using TypeDoc
Contains the required components used for rendering a shadow casted by a light.