فهرست منبع

Reduce initial bloomed boxes

Temdog007 6 سال پیش
والد
کامیت
e0caf08a83
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/webgl_postprocessing_unreal_bloom_selective.html

+ 1 - 1
examples/webgl_postprocessing_unreal_bloom_selective.html

@@ -292,7 +292,7 @@
 						} ) );
 						box.position.set( x, y, 0 );
 						scene.add( box );
-						if ( Math.random() < 0.5 ) box.layers.enable( BLOOM_SCENE );
+						if ( Math.random() < 0.125 ) box.layers.enable( BLOOM_SCENE );
 
 					}