Bladeren bron

Minor correction

Popov72 5 jaren geleden
bovenliggende
commit
4d90dfc2cc
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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