Skip to reading
Cameras, Lighting & Rendering

43 Make shadows work in the first place

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page

A visible shadow depends on the global switch, a shadow-casting light, a shadow-casting object and a surface that receives the shadow. Check those four conditions before changing shadow quality.

1. In Global Settings, enable Shadows and apply.

2. Select the relevant point, spot or directional light. Enable Cast Shadows and make sure it starts on.

3. Use a solid primitive on a solid floor as a simple test. For an object with advanced shadow settings, keep shadow.cast and shadow.receive true.

4. Aim the light so the shadow falls where you can see it. Shorten a huge light range or shadow distance if appropriate.

5. Restart Test Scene and compare the light on and off.

A collider is not the rendered shadow shape. Shadow casting uses the rendered geometry and its material rules. Changing an event volume does not change the visible shadow or make a model receive light.

Hemisphere lights do not cast shadows in this implementation. Ambient light also does not create a directional cast shadow. Use a suitable direct light.

Page 49 of 109Permalink
Go to page