File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,12 @@ receive low-resolution shadows that may appear blocky.
201201To fix this, a technique named *Parallel Split Shadow Maps * (PSSM) is used.
202202This splits the view frustum in 2 or 4 areas. Each area gets its own shadow map.
203203This allows small areas close to the viewer to have the same shadow resolution
204- as a huge, far-away area.
204+ as a huge, far-away area. When shadows are enabled for DirectionalLight3D, the
205+ default shadow mode is PSSM with 4 splits. In scenarios where an object is large
206+ enough to appear in all four splits, it results in increased draw calls. Specifically,
207+ such an object will be rendered five times in total: once for each of the four shadow
208+ splits and once for the final scene rendering. This can impact performance, understanding
209+ this behavior is important for optimizing your scene and managing performance expectations.
205210
206211.. image :: img/lights_and_shadows_pssm_explained.webp
207212
You can’t perform that action at this time.
0 commit comments