diff options
Diffstat (limited to 'js/lib/rdge/materials/relief-tunnel-material.js')
-rw-r--r-- | js/lib/rdge/materials/relief-tunnel-material.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/rdge/materials/relief-tunnel-material.js b/js/lib/rdge/materials/relief-tunnel-material.js index 20290895..7bf780fe 100644 --- a/js/lib/rdge/materials/relief-tunnel-material.js +++ b/js/lib/rdge/materials/relief-tunnel-material.js | |||
@@ -49,12 +49,12 @@ var ReliefTunnelMaterial = function ReliefTunnelMaterial() { | |||
49 | if (world) this.setWorld( world ); | 49 | if (world) this.setWorld( world ); |
50 | 50 | ||
51 | // set up the shader | 51 | // set up the shader |
52 | this._shader = new jshader(); | 52 | this._shader = new RDGE.jshader(); |
53 | this._shader.def = reliefTunnelMaterialDef; | 53 | this._shader.def = reliefTunnelMaterialDef; |
54 | this._shader.init(); | 54 | this._shader.init(); |
55 | 55 | ||
56 | // set up the material node | 56 | // set up the material node |
57 | this._materialNode = createMaterialNode("reliefTunnelMaterial"); | 57 | this._materialNode = RDGE.createMaterialNode("reliefTunnelMaterial"); |
58 | this._materialNode.setShader(this._shader); | 58 | this._materialNode.setShader(this._shader); |
59 | 59 | ||
60 | this._time = 0; | 60 | this._time = 0; |