Преглед на файлове

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 );
 
 					}