From 05629f063cce8a122e27b8de85af1caa3355a7d7 Mon Sep 17 00:00:00 2001 From: alteredq Date: Sat, 1 Sep 2012 07:58:22 +0200 Subject: [PATCH] Tweaked a bit lightmap example. --- examples/obj/lightmap/lightmap.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/examples/obj/lightmap/lightmap.js b/examples/obj/lightmap/lightmap.js index eaa8dcf9c0..c6b27f8218 100644 --- a/examples/obj/lightmap/lightmap.js +++ b/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, -- GitLab