浏览代码

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;