Explorar el Código

Reduce initial bloomed boxes

Temdog007 hace 6 años
padre
commit
e0caf08a83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 );
 
 					}
 

粤ICP备19079148号