From 4f7590251dd0fa4c07e04fd1f7fc927d9223c9b4 Mon Sep 17 00:00:00 2001 From: hwc487 Date: Thu, 8 Mar 2012 09:32:06 -0800 Subject: Fix for runtime Radial blur material --- js/lib/rdge/materials/radial-blur-material.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/lib/rdge/materials/radial-blur-material.js') diff --git a/js/lib/rdge/materials/radial-blur-material.js b/js/lib/rdge/materials/radial-blur-material.js index 89116af4..d0d05e8d 100644 --- a/js/lib/rdge/materials/radial-blur-material.js +++ b/js/lib/rdge/materials/radial-blur-material.js @@ -161,6 +161,9 @@ var RadialBlurMaterial = function RadialBlurMaterial() { // every material needs the base type and instance name var exportStr = "material: " + this.getShaderName() + "\n"; exportStr += "name: " + this.getName() + "\n"; + + var texMapName = this._propValues[this._propNames[0]]; + exportStr += "texture: " + texMapName + "\n"; // every material needs to terminate like this exportStr += "endMaterial\n"; -- cgit v1.2.3