diff options
Diffstat (limited to 'js/helper-classes/RDGE/runtime/RuntimeMaterial.js')
-rw-r--r-- | js/helper-classes/RDGE/runtime/RuntimeMaterial.js | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/js/helper-classes/RDGE/runtime/RuntimeMaterial.js b/js/helper-classes/RDGE/runtime/RuntimeMaterial.js index ceabbaa5..0f10cfbe 100644 --- a/js/helper-classes/RDGE/runtime/RuntimeMaterial.js +++ b/js/helper-classes/RDGE/runtime/RuntimeMaterial.js | |||
@@ -274,26 +274,10 @@ function RuntimeBumpMetalMaterial() | |||
274 | } | 274 | } |
275 | } | 275 | } |
276 | } | 276 | } |
277 | |||
278 | /* | ||
279 | this.update = function( time ) | ||
280 | { | ||
281 | var material = this._materialNode; | ||
282 | if (material) | ||
283 | { | ||
284 | var technique = material.shaderProgram.default; | ||
285 | var renderer = g_Engine.getContext().renderer; | ||
286 | if (renderer && technique) | ||
287 | { | ||
288 | if (this._shader && this._shader.default) | ||
289 | this._shader.default.u_time.set( [this._time] ); | ||
290 | this._time += this._dTime; | ||
291 | if (this._time > 200.0) this._time = 0.0; | ||
292 | } | ||
293 | } | ||
294 | } | ||
295 | */ | ||
296 | } | 277 | } |
297 | 278 | ||
279 | function RuntimeUberMaterial() | ||
280 | { | ||
281 | } | ||
298 | 282 | ||
299 | 283 | ||