repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 2bbcc23295afcc96f70fe136ed2badc608959e34:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 2bbcc23295afcc96f70fe136ed2badc608959e34
Author: James Baicoianu 
Date:   Sun Jul 30 22:51:43 2017 -0700

    Added room pbr attribute

diff --git a/scripts/room.js b/scripts/room.js
index bdcbe1d669c59d034760116976e820d4e89a4a6f..
index ..bac3c8dcfaaecace0d31ed2a4cd4def7b40c4a00 100644
--- 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-----