diff options
Diffstat (limited to 'js/lib/rdge/materials/material.js')
-rwxr-xr-x | js/lib/rdge/materials/material.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js index a81ca18f..bc4c8e6b 100755 --- a/js/lib/rdge/materials/material.js +++ b/js/lib/rdge/materials/material.js | |||
@@ -257,6 +257,13 @@ var Material = function GLMaterial( world ) { | |||
257 | return tex; | 257 | return tex; |
258 | }; | 258 | }; |
259 | 259 | ||
260 | this.updateTextures = function() | ||
261 | { | ||
262 | // this function is called whenever a world that generates textuers for | ||
263 | // the current world changes in some way. Sub-classes with textures | ||
264 | // should override this function. | ||
265 | } | ||
266 | |||
260 | this.export = function() { | 267 | this.export = function() { |
261 | // this function should be overridden by subclasses | 268 | // this function should be overridden by subclasses |
262 | var exportStr = "material: " + this.getShaderName() + "\n" + "endMaterial\n"; | 269 | var exportStr = "material: " + this.getShaderName() + "\n" + "endMaterial\n"; |