aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/uber-material.js
diff options
context:
space:
mode:
authorhwc4872012-06-13 13:56:10 -0700
committerhwc4872012-06-13 13:56:10 -0700
commita7aa51e6b91623772eef54b827616432838b560e (patch)
tree5b082e3e24fd8311e9334055a7b3b264a3223b26 /js/lib/rdge/materials/uber-material.js
parenteea0703ca3b7f066a9d685ce09905d4860fa082d (diff)
downloadninja-a7aa51e6b91623772eef54b827616432838b560e.tar.gz
Material bug fixes - reset texture array.
Diffstat (limited to 'js/lib/rdge/materials/uber-material.js')
-rwxr-xr-xjs/lib/rdge/materials/uber-material.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/uber-material.js b/js/lib/rdge/materials/uber-material.js
index 0fef78f6..9aa0f7ea 100755
--- a/js/lib/rdge/materials/uber-material.js
+++ b/js/lib/rdge/materials/uber-material.js
@@ -41,6 +41,9 @@ var UberMaterial = function UberMaterial() {
41 41
42 this._MAX_LIGHTS = 4; 42 this._MAX_LIGHTS = 4;
43 43
44 // array textures indexed by shader uniform name
45 this._glTextures = [];
46
44 /////////////////////////////////////////////////////////////////////// 47 ///////////////////////////////////////////////////////////////////////
45 // Material Property Accessors 48 // Material Property Accessors
46 /////////////////////////////////////////////////////////////////////// 49 ///////////////////////////////////////////////////////////////////////