diff options
author | hwc487 | 2012-06-15 11:12:20 -0700 |
---|---|---|
committer | hwc487 | 2012-06-15 11:12:20 -0700 |
commit | 9f74616f7727bf8cf988021ba0cd5d3354d67991 (patch) | |
tree | 624a7417ca152037bdf6f2e03b4a0873a31b3f4a /js/lib | |
parent | efabdc1053012a2a10d1db75179ea7ebbc4fcb0e (diff) | |
download | ninja-9f74616f7727bf8cf988021ba0cd5d3354d67991.tar.gz |
Fix for setting the specular map in the Uber shader.
Diffstat (limited to 'js/lib')
-rwxr-xr-x | js/lib/rdge/materials/uber-material.js | 2 |
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 | } |