aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/taper-material.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/rdge/materials/taper-material.js')
-rw-r--r--js/lib/rdge/materials/taper-material.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/rdge/materials/taper-material.js b/js/lib/rdge/materials/taper-material.js
index eeb08aec..7feea79a 100644
--- a/js/lib/rdge/materials/taper-material.js
+++ b/js/lib/rdge/materials/taper-material.js
@@ -45,7 +45,7 @@ function TaperMaterial()
45 this.init = function() 45 this.init = function()
46 { 46 {
47 // set up the shader 47 // set up the shader
48 this._shader = new jshader(); 48 this._shader = new RDGE.jshader();
49 this._shader.def = taperShaderDef; 49 this._shader.def = taperShaderDef;
50 this._shader.init(); 50 this._shader.init();
51 51
@@ -53,7 +53,7 @@ function TaperMaterial()
53 this._shader.colorMe.color.set( this.getColor() ); 53 this._shader.colorMe.color.set( this.getColor() );
54 54
55 // set up the material node 55 // set up the material node
56 this._materialNode = createMaterialNode("taperMaterial"); 56 this._materialNode = RDGE.createMaterialNode("taperMaterial");
57 this._materialNode.setShader(this._shader); 57 this._materialNode.setShader(this._shader);
58 58
59 // initialize the taper properties 59 // initialize the taper properties