diff options
author | hwc487 | 2012-03-02 09:36:31 -0800 |
---|---|---|
committer | hwc487 | 2012-03-02 09:36:31 -0800 |
commit | d044b6d9755d8ca686501fc3dd5644180e2ffbf0 (patch) | |
tree | 0ff6ca04987639417c0188ca8af2580b62d65f9f /js/helper-classes/RDGE/Materials/PlasmaMaterial.js | |
parent | cf32843b1d64c631e6e7c808cc4f13ac316e1baf (diff) | |
download | ninja-d044b6d9755d8ca686501fc3dd5644180e2ffbf0.tar.gz |
WebGL File IO
Diffstat (limited to 'js/helper-classes/RDGE/Materials/PlasmaMaterial.js')
-rw-r--r-- | js/helper-classes/RDGE/Materials/PlasmaMaterial.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/Materials/PlasmaMaterial.js b/js/helper-classes/RDGE/Materials/PlasmaMaterial.js index a65f3a33..4e60df9f 100644 --- a/js/helper-classes/RDGE/Materials/PlasmaMaterial.js +++ b/js/helper-classes/RDGE/Materials/PlasmaMaterial.js | |||
@@ -74,7 +74,7 @@ function PlasmaMaterial() | |||
74 | this.setProperty( "color", [this._time, 0, 0, 1] ); | 74 | this.setProperty( "color", [this._time, 0, 0, 1] ); |
75 | 75 | ||
76 | // set up the material node | 76 | // set up the material node |
77 | this._materialNode = createMaterialNode("plasmaMaterial"); | 77 | this._materialNode = createMaterialNode("plasmaMaterial_" + world.generateUniqueNodeID()); |
78 | this._materialNode.setShader(this._shader); | 78 | this._materialNode.setShader(this._shader); |
79 | } | 79 | } |
80 | 80 | ||