diff options
author | hwc487 | 2012-02-07 14:35:55 -0800 |
---|---|---|
committer | hwc487 | 2012-02-07 14:35:55 -0800 |
commit | 2d4da18a778471b02e188ad668752e331ee76127 (patch) | |
tree | d1aee0417e6e9ad0335c9e6232d49001a4e425ba /js/helper-classes/RDGE/GLMaterial.js | |
parent | 9d122c5f1632b1225a543049913c36b9a030110c (diff) | |
download | ninja-2d4da18a778471b02e188ad668752e331ee76127.tar.gz |
test code for deformation shader
Diffstat (limited to 'js/helper-classes/RDGE/GLMaterial.js')
-rw-r--r-- | js/helper-classes/RDGE/GLMaterial.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/helper-classes/RDGE/GLMaterial.js b/js/helper-classes/RDGE/GLMaterial.js index 07a98ab5..a74a74e4 100644 --- a/js/helper-classes/RDGE/GLMaterial.js +++ b/js/helper-classes/RDGE/GLMaterial.js | |||
@@ -34,7 +34,7 @@ function GLMaterial( world ) | |||
34 | // vertex deformation variables | 34 | // vertex deformation variables |
35 | this._hasVertexDeformation = false; | 35 | this._hasVertexDeformation = false; |
36 | this._vertexDeformationRange = [0, 0, 1, 1]; // (xMin, yMin, xMax, yMax) | 36 | this._vertexDeformationRange = [0, 0, 1, 1]; // (xMin, yMin, xMax, yMax) |
37 | this._vertexDeformationTolerance = 0.05; | 37 | this._vertexDeformationTolerance = 0.1; |
38 | 38 | ||
39 | // RDGE variables | 39 | // RDGE variables |
40 | this._shader; | 40 | this._shader; |
@@ -74,7 +74,7 @@ function GLMaterial( world ) | |||
74 | // the vertex shader can apply deformations requiring refinement in | 74 | // the vertex shader can apply deformations requiring refinement in |
75 | // certain areas. | 75 | // certain areas. |
76 | this.hasVertexDeformation = function() { return this._hasVertexDeformation; } | 76 | this.hasVertexDeformation = function() { return this._hasVertexDeformation; } |
77 | this.getVertexDeformationRange = function() { return this._vertexDeformationRange.slice(); } | 77 | this.getVertexDeformationRange = function() { return this._vertexDeformationRange.slice(); } |
78 | this.getVertexDeformationTolerance = function() { return this._vertexDeformationTolerance; } | 78 | this.getVertexDeformationTolerance = function() { return this._vertexDeformationTolerance; } |
79 | 79 | ||
80 | 80 | ||