diff options
Diffstat (limited to 'js/lib/rdge/materials/plasma-material.js')
-rw-r--r-- | js/lib/rdge/materials/plasma-material.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/rdge/materials/plasma-material.js b/js/lib/rdge/materials/plasma-material.js index 9ecc2b48..d52f4b88 100644 --- a/js/lib/rdge/materials/plasma-material.js +++ b/js/lib/rdge/materials/plasma-material.js | |||
@@ -56,7 +56,7 @@ var PlasmaMaterial = function PlasmaMaterial() { | |||
56 | 56 | ||
57 | this.init = function() { | 57 | this.init = function() { |
58 | // set up the shader | 58 | // set up the shader |
59 | this._shader = new jshader(); | 59 | this._shader = new RDGE.jshader(); |
60 | this._shader.def = plasmaShaderDef; | 60 | this._shader.def = plasmaShaderDef; |
61 | this._shader.init(); | 61 | this._shader.init(); |
62 | 62 | ||
@@ -66,7 +66,7 @@ var PlasmaMaterial = function PlasmaMaterial() { | |||
66 | this.setProperty( "color", [this._time, 0, 0, 1] ); | 66 | this.setProperty( "color", [this._time, 0, 0, 1] ); |
67 | 67 | ||
68 | // set up the material node | 68 | // set up the material node |
69 | this._materialNode = createMaterialNode("plasmaMaterial"); | 69 | this._materialNode = RDGE.createMaterialNode("plasmaMaterial"); |
70 | this._materialNode.setShader(this._shader); | 70 | this._materialNode.setShader(this._shader); |
71 | }; | 71 | }; |
72 | 72 | ||