Skip to content
Snippets Groups Projects
Commit 8adef11b authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

small changes

parent 025ae5b0
Branches
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ function myWorker(){ ...@@ -25,7 +25,7 @@ function myWorker(){
} }
// //
if (data.model){ if (data.model){
var material = new THREE.MeshLambertMaterial({side:THREE.DoubleSide}); var material = new THREE.MeshBasicMaterial({side:THREE.DoubleSide});
modelMesh = new THREE.Mesh(JSON.parse(data.model), material); modelMesh = new THREE.Mesh(JSON.parse(data.model), material);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment