diff options
author | hwc487 | 2012-03-09 13:34:09 -0800 |
---|---|---|
committer | hwc487 | 2012-03-09 13:34:09 -0800 |
commit | e92a6da7b84c58803489d70efedf74837ddfe4cd (patch) | |
tree | 66c51b48669f29bd514df90b076b5e62f7cb925e /js/lib/rdge/materials/uber-material.js | |
parent | f83a04cda688cc9680749fffae6c0b9fa0c2087f (diff) | |
download | ninja-e92a6da7b84c58803489d70efedf74837ddfe4cd.tar.gz |
Removed asset path replacement at authortime.
Diffstat (limited to 'js/lib/rdge/materials/uber-material.js')
-rwxr-xr-x | js/lib/rdge/materials/uber-material.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/lib/rdge/materials/uber-material.js b/js/lib/rdge/materials/uber-material.js index d120ffa1..655d8e2a 100755 --- a/js/lib/rdge/materials/uber-material.js +++ b/js/lib/rdge/materials/uber-material.js | |||
@@ -457,16 +457,16 @@ var UberMaterial = function UberMaterial() { | |||
457 | throw new Error( "no world in material.export, " + this.getName() ); | 457 | throw new Error( "no world in material.export, " + this.getName() ); |
458 | 458 | ||
459 | if(typeof caps.diffuseMap != 'undefined') | 459 | if(typeof caps.diffuseMap != 'undefined') |
460 | exportStr += "diffuseMap: " + world.cleansePath(caps.diffuseMap.texture) + "\n"; | 460 | exportStr += "diffuseMap: " + caps.diffuseMap.texture + "\n"; |
461 | 461 | ||
462 | if(typeof caps.normalMap != 'undefined') | 462 | if(typeof caps.normalMap != 'undefined') |
463 | exportStr += "normalMap: " + world.cleansePath(caps.normalMap.texture) + "\n"; | 463 | exportStr += "normalMap: " + caps.normalMap.texture + "\n"; |
464 | 464 | ||
465 | if(typeof caps.specularMap != 'undefined') | 465 | if(typeof caps.specularMap != 'undefined') |
466 | exportStr += "specularMap: " + world.cleansePath(caps.specularMap.texture) + "\n"; | 466 | exportStr += "specularMap: " + caps.specularMap.texture + "\n"; |
467 | 467 | ||
468 | if(typeof caps.environmentMap != 'undefined') | 468 | if(typeof caps.environmentMap != 'undefined') |
469 | exportStr += "environmentMap: " + world.cleansePath(caps.environmentMap.texture) + "\n"; | 469 | exportStr += "environmentMap: " + caps.environmentMap.texture + "\n"; |
470 | 470 | ||
471 | // every material needs to terminate like this | 471 | // every material needs to terminate like this |
472 | exportStr += "endMaterial\n"; | 472 | exportStr += "endMaterial\n"; |