ソースを参照

fix mosaic mask

sunag 7 年 前
コミット
8ef140ad6d
1 ファイル変更2 行追加2 行削除
  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;