Jelajahi Sumber

Increase GGX_SAMPLES from 1024 to 2048 (#32148)

mrdoob 5 bulan lalu
induk
melakukan
b5e596d160
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/renderers/common/extras/PMREMGenerator.js

+ 1 - 1
src/renderers/common/extras/PMREMGenerator.js

@@ -44,7 +44,7 @@ const EXTRA_LOD_SIGMA = [ 0.125, 0.215, 0.35, 0.446, 0.526, 0.582 ];
 const MAX_SAMPLES = 20;
 
 // GGX VNDF importance sampling configuration
-const GGX_SAMPLES = 1024;
+const GGX_SAMPLES = 2048;
 
 const _flatCamera = /*@__PURE__*/ new OrthographicCamera( - 1, 1, 1, - 1, 0, 1 );
 const _cubeCamera = /*@__PURE__*/ new PerspectiveCamera( 90, 1 );

粤ICP备19079148号