45 Bias, normal bias and detached shadows
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.
| Advanced light field | What to test |
|---|---|
| shadowBias | Start near 0.05-0.1. Increase slightly for self-shadow artifacts; reduce if the shadow floats away. |
| normalBias | Offsets along the surface normal. Start near 0.6 for the example’s human scale and adjust carefully. |
| shadowOpacity | 0 to 1. Reduces the visible strength of this light’s shadow. |
| shadowBlur / lightSize | Softness-related settings. Renderer support and the room’s filter quality affect the result. |
| shadowDistance | How 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.
