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/RadialGradientMaterial.js | |
parent | cf32843b1d64c631e6e7c808cc4f13ac316e1baf (diff) | |
download | ninja-d044b6d9755d8ca686501fc3dd5644180e2ffbf0.tar.gz |
WebGL File IO
Diffstat (limited to 'js/helper-classes/RDGE/Materials/RadialGradientMaterial.js')
-rwxr-xr-x | js/helper-classes/RDGE/Materials/RadialGradientMaterial.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js b/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js index 12842798..4ebb1f30 100755 --- a/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js +++ b/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js | |||
@@ -154,7 +154,7 @@ function RadialGradientMaterial() | |||
154 | this._shader.init(); | 154 | this._shader.init(); |
155 | 155 | ||
156 | // set up the material node | 156 | // set up the material node |
157 | this._materialNode = createMaterialNode("radialGradientMaterial"); | 157 | this._materialNode = createMaterialNode("radialGradientMaterial_" + world.generateUniqueNodeID()); |
158 | this._materialNode.setShader(this._shader); | 158 | this._materialNode.setShader(this._shader); |
159 | 159 | ||
160 | // set the shader values in the shader | 160 | // set the shader values in the shader |