فهرست منبع

Explained PCFPOISSON filtering in EdgeFilterinMode enum javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10903 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
rem..om 12 سال پیش
والد
کامیت
1b2b9a6e88
1فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 7 2
      engine/src/core/com/jme3/shadow/EdgeFilteringMode.java

+ 7 - 2
engine/src/core/com/jme3/shadow/EdgeFilteringMode.java

@@ -57,8 +57,13 @@ public enum EdgeFilteringMode {
      */
     PCF4(3),
     /**
-     * 8x8 percentage-closer filtering is used. Shadows will be smoother at the
-     * cost of performance
+     * 12 samples percentage-closer filtering with a POISON disc distribution 
+     * is used. 
+     * http://devmag.org.za/2009/05/03/poisson-disk-sampling/
+     * The principle is to eliminate the regular blurring pattern that can be 
+     * seen with pcf4x4 by randomizing the samble position with a poisson disc.
+     * Shadows will look smoother than 4x4 PCF but with slightly better or 
+     * similar performance.
      */
     PCFPOISSON(4),
     /**