diff options
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"; |