Sebastien Vandenberghe 7 лет назад
Родитель
Сommit
dc12591c71
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/Lights/Shadows/babylon.shadowGenerator.ts

+ 5 - 1
src/Lights/Shadows/babylon.shadowGenerator.ts

@@ -118,7 +118,11 @@
          * (https://developer.nvidia.com/gpugems/GPUGems/gpugems_ch11.html)
          * (https://developer.nvidia.com/gpugems/GPUGems/gpugems_ch11.html)
          */
          */
         public static readonly FILTER_PCF = 6;
         public static readonly FILTER_PCF = 6;
-
+        /**
+         * Shadow generator mode PCSS: Percentage Closering Soft Shadow. 
+         * benefits from Webgl 2 shadow samplers. Fallback to Poisson Sampling in Webgl 1
+         * Contact Hardening
+         */
         public static readonly FILTER_PCSS = 7;
         public static readonly FILTER_PCSS = 7;
 
 
         /**
         /**