Parcourir la source

fix mosaic mask

sunag il y a 7 ans
Parent
commit
8ef140ad6d
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      examples/webgl_postprocessing_nodes.html

+ 2 - 2
examples/webgl_postprocessing_nodes.html

@@ -465,9 +465,9 @@
 
 						}, 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;