소스 검색

Simplified clearcoat normalmap example.

Mr.doob 6 년 전
부모
커밋
42d3129c0c
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 7
      examples/webgl_materials_clearcoat_normalmap.html

+ 3 - 7
examples/webgl_materials_clearcoat_normalmap.html

@@ -108,8 +108,7 @@
 							clearCoat: 1.0,
 							envMap: hdrCubeRenderTarget.texture,
 							map: diffuse,
-							normalMap: normalMap,
-							normalScale: new THREE.Vector2( 0.5, 0.5 )
+							normalMap: normalMap
 						} );
 						var mesh = new THREE.Mesh( geometry, material );
 						mesh.position.x = 100;
@@ -122,8 +121,7 @@
 							clearCoat: 1.0,
 							envMap: hdrCubeRenderTarget.texture,
 							map: diffuse,
-							clearCoatNormalMap: clearCoatNormaMap,
-							clearCoatNormalScale: new THREE.Vector2( 0.5, 0.5 )
+							clearCoatNormalMap: clearCoatNormaMap
 						} );
 						var mesh = new THREE.Mesh( geometry, material );
 						mesh.position.x = - 100;
@@ -137,9 +135,7 @@
 							envMap: hdrCubeRenderTarget.texture,
 							map: diffuse,
 							normalMap: normalMap,
-							normalScale: new THREE.Vector2( 0.5, 0.5 ),
-							clearCoatNormalMap: clearCoatNormaMap,
-							clearCoatNormalScale: new THREE.Vector2( 0.5, 0.5 )
+							clearCoatNormalMap: clearCoatNormaMap
 						} );
 						var mesh = new THREE.Mesh( geometry, material );
 						mesh.position.x = 100;