Quellcode durchsuchen

fix mosaic mask

sunag vor 7 Jahren
Ursprung
Commit
8ef140ad6d
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      examples/webgl_postprocessing_nodes.html

+ 2 - 2
examples/webgl_postprocessing_nodes.html

@@ -465,9 +465,9 @@
 
 
 						}, false, 0, 1 );
 						}, false, 0, 1 );
 
 
-						addGui( 'mask', true, function ( val ) {
+						addGui( 'mask', false, function ( val ) {
 
 
-							fadeCoord.c = val ? maskAlpha : fade;
+							fadeScreen.c = val ? new THREE.TextureNode( lensflare2 ) : fade;
 
 
 							nodepass.needsUpdate = true;
 							nodepass.needsUpdate = true;