repo: janusweb
action: commit
revision: 
path_from: 
revision_from: f7a70359f1655515d019b2dd8ec62a18bf201037:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit f7a70359f1655515d019b2dd8ec62a18bf201037
Author: James Baicoianu 
Date:   Wed Sep 19 02:07:42 2018 -0700

    Text shadows

diff --git a/scripts/text.js b/scripts/text.js
index be850685659e122d8a91b77f993e11c4be62dc62..
index ..a1fba5f0ddaf7751b4ff70706666af096ff075b2 100644
--- a/scripts/text.js
+++ b/scripts/text.js
@@ -56,7 +56,8 @@ elation.require(['engine.things.label'], function() {
       } else {
         this.material = this.createTextMaterial(text);
         mesh = new THREE.Mesh(geometry, this.material);
-
+        mesh.castShadow = true;
+        mesh.receiveShadow = true;
       }

       return mesh;

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