Shadows

In Canvas Studio, shadows are a core part of creating depth, realism, and visual separation between objects in 3D space. Shadows give weight to models, show how light interacts with surfaces, and help orient the viewer within a scene. Canvas supports real-time dynamic shadows, where light sources cast shadows from objects that move or rotate, and objects can be set to either cast or receive shadows independently.

When a light with castShadow enabled shines on an object with castShadow enabled, that object will project a shadow. Another object with receiveShadow enabled will show that shadow on its surface. Shadows are calculated in real time using shadow maps—textures that store depth information from the light’s point of view. This means more shadow casters and receivers can increase GPU load, but also allow for more complex visual results.

Light Sources