diff options
Diffstat (limited to 'js/lib/rdge/materials/radial-gradient-material.js')
-rwxr-xr-x | js/lib/rdge/materials/radial-gradient-material.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/rdge/materials/radial-gradient-material.js b/js/lib/rdge/materials/radial-gradient-material.js index 13be50f5..faac7f1b 100755 --- a/js/lib/rdge/materials/radial-gradient-material.js +++ b/js/lib/rdge/materials/radial-gradient-material.js | |||
@@ -195,12 +195,12 @@ var RadialGradientMaterial = function RadialGradientMaterial() { | |||
195 | 195 | ||
196 | this.init = function() { | 196 | this.init = function() { |
197 | // set up the shader | 197 | // set up the shader |
198 | this._shader = new jshader(); | 198 | this._shader = new RDGE.jshader(); |
199 | this._shader.def = radialGradientMaterialDef; | 199 | this._shader.def = radialGradientMaterialDef; |
200 | this._shader.init(); | 200 | this._shader.init(); |
201 | 201 | ||
202 | // set up the material node | 202 | // set up the material node |
203 | this._materialNode = createMaterialNode("radialGradientMaterial"); | 203 | this._materialNode = RDGE.createMaterialNode("radialGradientMaterial"); |
204 | this._materialNode.setShader(this._shader); | 204 | this._materialNode.setShader(this._shader); |
205 | 205 | ||
206 | // set the shader values in the shader | 206 | // set the shader values in the shader |