From 67dd4bdd47a0324507bed232d22068aa198549fe Mon Sep 17 00:00:00 2001
From: hwc487
Date: Wed, 11 Jul 2012 09:48:19 -0700
Subject: re-wrote the radial blur shader.  Changed tolerances in the
 deformation shaders.

---
 js/lib/rdge/materials/material.js            | 2 +-
 js/lib/rdge/materials/taper-material.js      | 2 +-
 js/lib/rdge/materials/twist-vert-material.js | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'js/lib/rdge/materials')

diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js
index 0f6f6c92..e8571e9d 100755
--- a/js/lib/rdge/materials/material.js
+++ b/js/lib/rdge/materials/material.js
@@ -57,7 +57,7 @@ var Material = function GLMaterial( world ) {
     // vertex deformation variables
     this._hasVertexDeformation = false;
     this._vertexDeformationRange = [0, 0, 1, 1];    // (xMin, yMin, xMax, yMax)
-	this._vertexDeformationTolerance = 0.02;
+	this._vertexDeformationTolerance = 0.1;
 
     // RDGE variables
     this._shader = null;
diff --git a/js/lib/rdge/materials/taper-material.js b/js/lib/rdge/materials/taper-material.js
index 73e344d5..929dffa6 100644
--- a/js/lib/rdge/materials/taper-material.js
+++ b/js/lib/rdge/materials/taper-material.js
@@ -61,7 +61,7 @@ var TaperMaterial = function TaperMaterial()
 
     this.hasVertexDeformation = function () { return this._hasVertexDeformation; };
     this._hasVertexDeformation = true;
-    this._vertexDeformationTolerance = 0.02; // should be a property
+    this._vertexDeformationTolerance = 0.1; // should be a property
 
 	this.getVertexDeformationTolerance = function()	{  return  this._propValues[this._propNames[7]];  };
 
diff --git a/js/lib/rdge/materials/twist-vert-material.js b/js/lib/rdge/materials/twist-vert-material.js
index 57ef23ea..c7e7dcc8 100644
--- a/js/lib/rdge/materials/twist-vert-material.js
+++ b/js/lib/rdge/materials/twist-vert-material.js
@@ -65,7 +65,7 @@ var TwistVertMaterial = function TwistVertMaterial()
 
     this.hasVertexDeformation = function () { return this._hasVertexDeformation; };
     this._hasVertexDeformation = true;
-    this._vertexDeformationTolerance = 0.02; // should be a property
+    this._vertexDeformationTolerance = 0.1; // should be a property
 
     ///////////////////////////////////////////////////////////////////////
     // Material Property Accessors
-- 
cgit v1.2.3