repo: janusweb action: commit revision: path_from: revision_from: f7a70359f1655515d019b2dd8ec62a18bf201037: path_to: revision_to:
commit f7a70359f1655515d019b2dd8ec62a18bf201037 Author: James BaicoianuDate: Wed Sep 19 02:07:42 2018 -0700 Text shadows diff --git a/scripts/text.js b/scripts/text.js
--- 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-----