소스 검색

Tweaked a bit lightmap example.

alteredq 13 년 전
부모
커밋
05629f063c
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      examples/obj/lightmap/lightmap.js

+ 10 - 2
examples/obj/lightmap/lightmap.js

@@ -29,6 +29,10 @@
 	"mapLight" : "lightmap-ao-shadow.png",
 	"mapBump" : "stone.jpg",
 	"mapSpecular" : "stone.jpg",
+	"mapBumpRepeat" : [2, 2],
+	"mapSpecularRepeat" : [2, 2],
+	"mapBumpWrap" : ["repeat", "repeat"],
+	"mapSpecularWrap" : ["repeat", "repeat"],
 	"shading" : "Phong",
 	"specularCoef" : 50,
 	"transparency" : 1.0,
@@ -49,8 +53,8 @@
 	"mapLight" : "lightmap-ao-shadow.png",
 	"mapBump" : "stone.jpg",
 	"mapSpecular" : "stone.jpg",
-	"mapBumpRepeat" : [8, 8],
-	"mapSpecularRepeat" : [8, 8],
+	"mapBumpRepeat" : [16, 16],
+	"mapSpecularRepeat" : [16, 16],
 	"mapBumpWrap" : ["repeat", "repeat"],
 	"mapSpecularWrap" : ["repeat", "repeat"],
 	"shading" : "Phong",
@@ -73,6 +77,10 @@
 	"mapLight" : "lightmap-ao-shadow.png",
 	"mapBump" : "rocks.jpg",
 	"mapSpecular" : "rocks.jpg",
+	"mapBumpRepeat" : [2, 2],
+	"mapSpecularRepeat" : [2, 2],
+	"mapBumpWrap" : ["repeat", "repeat"],
+	"mapSpecularWrap" : ["repeat", "repeat"],
 	"shading" : "Phong",
 	"specularCoef" : 50,
 	"transparency" : 1.0,