From 9f74616f7727bf8cf988021ba0cd5d3354d67991 Mon Sep 17 00:00:00 2001 From: hwc487 Date: Fri, 15 Jun 2012 11:12:20 -0700 Subject: Fix for setting the specular map in the Uber shader. --- js/lib/rdge/materials/uber-material.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/lib/rdge') 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() { if (renderer && technique) { var tex = renderer.getTextureByName(value, this._ubershaderCaps.specularMap.wrap); this.registerTexture(tex); - technique.s_specularMap.set(tex); + technique.s_specMap.set(tex); } } } -- cgit v1.2.3