aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/linear-gradient-material.js
diff options
context:
space:
mode:
authorJohn Mayhew2012-04-02 14:57:31 -0700
committerJohn Mayhew2012-04-02 14:57:31 -0700
commitfb0a659c9ca3479fd6799325498b11f074689936 (patch)
tree46342298281aa93e48756e040715f42770ccc526 /js/lib/rdge/materials/linear-gradient-material.js
parentc24f58c10231c30d3a8a4c9fb9a4f395dd746180 (diff)
downloadninja-fb0a659c9ca3479fd6799325498b11f074689936.tar.gz
-Namespaced all RDGE javascript.
-Removed the following unused files from the build script /core/script/fx/blur.js /core/script/fx/ssao.js /core/script/animation.js - Fully removed the following from the build and from source control as they are unused or no longer needed /core/script/util/dbgpanel.js /core/script/util/fpsTracker.js /core/script/util/statTracker.js /core/script/input.js /core/script/TextureManager.js /core/script/ubershader.js
Diffstat (limited to 'js/lib/rdge/materials/linear-gradient-material.js')
-rwxr-xr-xjs/lib/rdge/materials/linear-gradient-material.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/rdge/materials/linear-gradient-material.js b/js/lib/rdge/materials/linear-gradient-material.js
index 2c52c67d..d9307274 100755
--- a/js/lib/rdge/materials/linear-gradient-material.js
+++ b/js/lib/rdge/materials/linear-gradient-material.js
@@ -207,12 +207,12 @@ var LinearGradientMaterial = function LinearGradientMaterial() {
207 this.setWorld( world ); 207 this.setWorld( world );
208 208
209 // set up the shader 209 // set up the shader
210 this._shader = new jshader(); 210 this._shader = new RDGE.jshader();
211 this._shader.def = linearGradientMaterialDef; 211 this._shader.def = linearGradientMaterialDef;
212 this._shader.init(); 212 this._shader.init();
213 213
214 // set up the material node 214 // set up the material node
215 this._materialNode = createMaterialNode( this.getShaderName() ); 215 this._materialNode = RDGE.createMaterialNode(this.getShaderName());
216 this._materialNode.setShader(this._shader); 216 this._materialNode.setShader(this._shader);
217 217
218 // send the current values to the shader 218 // send the current values to the shader