diff options
Diffstat (limited to 'js/lib/rdge/materials/water-material.js')
-rw-r--r-- | js/lib/rdge/materials/water-material.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/water-material.js b/js/lib/rdge/materials/water-material.js index 3e63ddb6..1dd127fc 100644 --- a/js/lib/rdge/materials/water-material.js +++ b/js/lib/rdge/materials/water-material.js | |||
@@ -24,6 +24,9 @@ var WaterMaterial = function WaterMaterial() | |||
24 | this._time = 0.0; | 24 | this._time = 0.0; |
25 | this._dTime = 0.01; | 25 | this._dTime = 0.01; |
26 | 26 | ||
27 | // array textures indexed by shader uniform name | ||
28 | this._glTextures = []; | ||
29 | |||
27 | this.isAnimated = function() { return true; }; | 30 | this.isAnimated = function() { return true; }; |
28 | this.getShaderDef = function() { return waterMaterialDef; }; | 31 | this.getShaderDef = function() { return waterMaterialDef; }; |
29 | 32 | ||