Browse Source

Minor correction

Popov72 5 years ago
parent
commit
4d90dfc2cc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Lights/directionalLight.ts

+ 1 - 0
src/Lights/directionalLight.ts

@@ -67,6 +67,7 @@ export class DirectionalLight extends ShadowLight {
      * Automatically compute the shadowMinZ and shadowMaxZ for the projection matrix to best fit (including all the casters)
      * on each frame. autoUpdateExtends must be set to true for this to work
      */
+    @serialize()
     public autoCalcShadowZBounds = false;
 
     // Cache