Skip to reading
Cameras, Lighting & Rendering

45 Bias, normal bias and detached shadows

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

Shadow maps need a small offset to avoid a surface falsely shadowing itself. Too little offset produces speckles, stripes or a dirty-looking surface. Too much makes the shadow look detached from the object.

Source table from 45 Bias, normal bias and detached shadows, page 51
Advanced light fieldWhat to test
shadowBiasStart near 0.05-0.1. Increase slightly for self-shadow artifacts; reduce if the shadow floats away.
normalBiasOffsets along the surface normal. Start near 0.6 for the example’s human scale and adjust carefully.
shadowOpacity0 to 1. Reduces the visible strength of this light’s shadow.
shadowBlur / lightSizeSoftness-related settings. Renderer support and the room’s filter quality affect the result.
shadowDistanceHow far relevant shadows remain available. For local lights, a distance fade also reduces their contribution near the limit.

These fields go inside the light dictionary through Raw JSON when the main Inspector does not expose them. Change one at a time. Save a baseline value so you can return to it.

If an imported model is a hundred times larger or smaller than your room scale, repair its scale first. Extreme scales make every light range, clip distance and shadow offset harder to reason about.

Page 51 of 109Permalink
Go to page