aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorhwc4872012-06-15 11:12:20 -0700
committerhwc4872012-06-15 11:12:20 -0700
commit9f74616f7727bf8cf988021ba0cd5d3354d67991 (patch)
tree624a7417ca152037bdf6f2e03b4a0873a31b3f4a /js/lib
parentefabdc1053012a2a10d1db75179ea7ebbc4fcb0e (diff)
downloadninja-9f74616f7727bf8cf988021ba0cd5d3354d67991.tar.gz
Fix for setting the specular map in the Uber shader.
Diffstat (limited to 'js/lib')
-rwxr-xr-xjs/lib/rdge/materials/uber-material.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/rdge/materials/uber-material.js b/js/lib/rdge/materials/uber-material.js
index febf765f..31a8756c 100755
--- a/js/lib/rdge/materials/uber-material.js
+++ b/js/lib/rdge/materials/uber-material.js
@@ -309,7 +309,7 @@ var UberMaterial = function UberMaterial() {
309 if (renderer && technique) { 309 if (renderer && technique) {
310 var tex = renderer.getTextureByName(value, this._ubershaderCaps.specularMap.wrap); 310 var tex = renderer.getTextureByName(value, this._ubershaderCaps.specularMap.wrap);
311 this.registerTexture(tex); 311 this.registerTexture(tex);
312 technique.s_specularMap.set(tex); 312 technique.s_specMap.set(tex);
313 } 313 }
314 } 314 }
315 } 315 }