repo: janusweb
action: commit
revision: 
path_from: 
revision_from: b996547d4c4ebf50528ac3d4b88933abdc9cd055:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit b996547d4c4ebf50528ac3d4b88933abdc9cd055
Author: James Baicoianu 
Date:   Mon Jun 15 16:35:28 2020 -0700

    Use screen video as emissive map

diff --git a/scripts/janusghost.js b/scripts/janusghost.js
index 030338f7d93de476ade367e0a0a0312e8719b90a..
index ..02a6eb4112300cee64e483d8f689bd40cd10ca48 100644
--- a/scripts/janusghost.js
+++ b/scripts/janusghost.js
@@ -516,6 +516,7 @@ elation.require(['janusweb.janusbase', 'engine.things.leapmotion'], function() {
             screen.updateMaterial();
             setTimeout(() => {
               screen.video_id = 'screen';
+              screen.emissive_id = 'screen';
               screen.visible = true;
               screen.updateMaterial();
               if (screen.parent === null && screen !== c) {

-----END OF PAGE-----