Przeglądaj źródła

Minor correction

Popov72 5 lat temu
rodzic
commit
4d90dfc2cc
1 zmienionych plików z 1 dodań i 0 usunięć
  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)
      * 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
      * on each frame. autoUpdateExtends must be set to true for this to work
      */
      */
+    @serialize()
     public autoCalcShadowZBounds = false;
     public autoCalcShadowZBounds = false;
 
 
     // Cache
     // Cache