aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/helper-classes/RDGE/Materials/LinearGradientMaterial.js')
-rw-r--r--js/helper-classes/RDGE/Materials/LinearGradientMaterial.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js b/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
index 357ce275..f026cd15 100644
--- a/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
+++ b/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
@@ -98,6 +98,8 @@ function LinearGradientMaterial()
98 this._shader.default.u_cos_sin_angle.set([Math.cos(a), Math.sin(a)]); 98 this._shader.default.u_cos_sin_angle.set([Math.cos(a), Math.sin(a)]);
99 } 99 }
100 100
101 this.isAnimated = function() { return true; }
102
101 /////////////////////////////////////////////////////////////////////// 103 ///////////////////////////////////////////////////////////////////////
102 // Material Property Accessors 104 // Material Property Accessors
103 /////////////////////////////////////////////////////////////////////// 105 ///////////////////////////////////////////////////////////////////////
@@ -146,6 +148,8 @@ function LinearGradientMaterial()
146 148
147 // send the current values to the shader 149 // send the current values to the shader
148 this.updateShaderValues(); 150 this.updateShaderValues();
151
152 console.log( "**** LinearGradientMaterial initialized" );
149 } 153 }
150 154
151 this.updateShaderValues= function() 155 this.updateShaderValues= function()