소스 검색

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;