repo: janusweb action: commit revision: path_from: revision_from: 2bbcc23295afcc96f70fe136ed2badc608959e34: path_to: revision_to:
commit 2bbcc23295afcc96f70fe136ed2badc608959e34 Author: James BaicoianuDate: Sun Jul 30 22:51:43 2017 -0700 Added room pbr attribute diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -30,6 +30,7 @@ elation.require([
'fog_end': { type: 'float', default: 100.0 },
'fog_col': { type: 'color', default: 0x000000 },
'ambient': { type: 'color', default: 0x666666, set: this.updateLights },
+ 'pbr': { type: 'boolean', default: false },
'bloom': { type: 'float', default: 0.4, set: this.updateBloom },
'shadows': { type: 'bool', default: false, set: this.updateShadows },
'walk_speed': { type: 'float', default: 1.8 },
@@ -1229,6 +1230,7 @@ elation.require([
fog_col: ['property', 'fog_col'],
ambient: ['property', 'ambient'],
bloom: ['property', 'bloom'],
+ pbr: ['property', 'pbr'],
shadows: ['property', 'shadows'],
col: ['property', 'col'],
locked: ['property', 'locked'],
-----END OF PAGE-----