RectAreaLightShadow - Verge3D User Manual - Soft8Soft
Description: Learn how to use RectAreaLightShadow in your interactive 3D apps made with Verge3D

LightShadow → PointLightShadow →

# RectAreaLightShadow

This is used internally by ReactAreaLights for calculating shadows.

Similarly to point light shadows, rectangular light shadows require up to 6 times more draw calls compared to directional or spot light shadows. They also consume more GPU memory. So you better use them only if it's absolutely necessary.

## Constructor

### RectAreaLightShadow()

Creates a new RectAreaLightShadow. This is not intended to be called directly — it is called internally by ReactAreaLight.

## Properties

See the base PointLightShadow class for common properties.

### # .isReactAreaLightShadow : Boolean

Read-only flag to check if a given object is of type RectAreaLightShadow.

## Methods

See the base PointLightShadow class for common methods.

## Puzzles

The set shadow param puzzle allows to enable/disable casting or receiving shadows in a visual manner.

## Source

For more info on how to obtain the source code of this module see this page.