aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/helper-classes/RDGE/Materials/RadialBlurMaterial.js')
-rwxr-xr-xjs/helper-classes/RDGE/Materials/RadialBlurMaterial.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js b/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
index 25331b54..9acb4213 100755
--- a/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
+++ b/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
@@ -92,6 +92,9 @@ function RadialBlurMaterial()
92 92
93 this.init = function( world ) 93 this.init = function( world )
94 { 94 {
95 // save the world
96 if (world) this.setWorld( world );
97
95 // set up the shader 98 // set up the shader
96 this._shader = new jshader(); 99 this._shader = new jshader();
97 this._shader.def = radialBlurMaterialDef; 100 this._shader.def = radialBlurMaterialDef;