aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/Materials/UberMaterial.js
diff options
context:
space:
mode:
authorhwc4872012-03-02 09:36:31 -0800
committerhwc4872012-03-02 09:36:31 -0800
commitd044b6d9755d8ca686501fc3dd5644180e2ffbf0 (patch)
tree0ff6ca04987639417c0188ca8af2580b62d65f9f /js/helper-classes/RDGE/Materials/UberMaterial.js
parentcf32843b1d64c631e6e7c808cc4f13ac316e1baf (diff)
downloadninja-d044b6d9755d8ca686501fc3dd5644180e2ffbf0.tar.gz
WebGL File IO
Diffstat (limited to 'js/helper-classes/RDGE/Materials/UberMaterial.js')
-rwxr-xr-xjs/helper-classes/RDGE/Materials/UberMaterial.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/Materials/UberMaterial.js b/js/helper-classes/RDGE/Materials/UberMaterial.js
index c7855c95..825f88ca 100755
--- a/js/helper-classes/RDGE/Materials/UberMaterial.js
+++ b/js/helper-classes/RDGE/Materials/UberMaterial.js
@@ -424,7 +424,7 @@ function UberMaterial()
424 this._shader = this.buildUberShader( this._ubershaderCaps ); 424 this._shader = this.buildUberShader( this._ubershaderCaps );
425 425
426 // set up the material node 426 // set up the material node
427 this._materialNode = createMaterialNode("uberMaterial"); 427 this._materialNode = createMaterialNode("uberMaterial_" + world.generateUniqueNodeID());
428 this._materialNode.setShader(this._shader); 428 this._materialNode.setShader(this._shader);
429 }; 429 };
430 430