Mr.doob 10 лет назад
Родитель
Сommit
1f1d418e6d

+ 1 - 1
examples/webgl_loader_ctm.html

@@ -188,7 +188,7 @@
 						map: THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Map-COL.jpg" ),
 						specularMap: THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Map-SPEC.jpg" ),
 						normalMap: THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Infinite-Level_02_Tangent_SmoothUV.jpg" ),
-						normalScale: new THREE.Vector2( 0.8, 0.8 ),
+						normalScale: new THREE.Vector2( 0.8, 0.8 )
 
 					} );
 

+ 1 - 1
examples/webgl_materials_normalmap.html

@@ -125,7 +125,7 @@
 					map: THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Map-COL.jpg" ),
 					specularMap: THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Map-SPEC.jpg" ),
 					normalMap: THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Infinite-Level_02_Tangent_SmoothUV.jpg" ),
-					normalScale: new THREE.Vector2( 0.8, 0.8 ),
+					normalScale: new THREE.Vector2( 0.8, 0.8 )
 				} );
 
 				loader = new THREE.JSONLoader( true );

+ 2 - 2
src/renderers/shaders/ShaderLib.js

@@ -119,7 +119,7 @@ THREE.ShaderLib = {
 			THREE.UniformsLib[ "shadowmap" ],
 
 			{
-				"emissive" : { type: "c", value: new THREE.Color( 0x000000 ) },
+				"emissive" : { type: "c", value: new THREE.Color( 0x000000 ) }
 			}
 
 		] ),
@@ -259,7 +259,7 @@ THREE.ShaderLib = {
 			{
 				"emissive" : { type: "c", value: new THREE.Color( 0x000000 ) },
 				"specular" : { type: "c", value: new THREE.Color( 0x111111 ) },
-				"shininess": { type: "f", value: 30 },
+				"shininess": { type: "f", value: 30 }
 			}
 
 		] ),