Shadows
Here are described the settings and best practices to setup beautiful real-time shadows in Verge3D for Blender.
This section is written for Blender 2.81 (or higher). The shadow settings for older Blender versions are slightly different.

Global settings
The rendering of the shadows can be enabled/disabled using the *Shadows* and *Verge3D Settings* panels located on the *Render* tab in Blender.

- *Cube Size* - shadow map size for shadows casted from Point and Spot lights. The higher values give better quality but reduce performance.
- *Cascade Size* - shadow map size for shadows casted from Sun lights. The higher values give better quality but reduce performance.
- *Enable Shadows* - enable/disable shadows in Verge3D.
- *Map Side* - denotes which side of polygons is rendered during the shadow pass.
Per-light settings
Shadows can be enabled/disabled/tweaked for each individual light using the *Shadow* and *Verge3D Settings* panels.

On the Verge3D Settings panel can be found some per-light settings. Size/FOV, Near and Far can be used to tweak the shadow volume (the less the better). Radius controls the blurriness ratio, Map Size – how big is the shadow texture (trading between speed and quality).
- *Clip Start* - near clipping distance, higher values may slightly improve shadow quality.
- *Bias* - main parameter you should tweak to get rid of self-shadow artifacts and/or the "peter-panning" effect.
- *Blur Radius* - specify value higher 1 to make your shadows smoother (increase shadow blurriness).
Got Questions?
Feel free to ask on the forums!