From 8d8e7cd0bc1ba635ffe01bab71d42014b6b0f44e Mon Sep 17 00:00:00 2001 From: Emil Widlund Date: Wed, 9 May 2018 11:26:18 +0200 Subject: [PATCH] Updated debug example --- debug/app.coffee | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/debug/app.coffee b/debug/app.coffee index 2dd9e21..2167fb2 100644 --- a/debug/app.coffee +++ b/debug/app.coffee @@ -12,17 +12,13 @@ scene = new Scene width: Screen.width height: Screen.height -new Light - parent: scene - type: 'point' - y: 200 - z: 100 - new Model path: './models/flamingo/flamingo.json' parent: scene rotationY: -40 - map: './images/icon.png' + material: new MeshNormalMaterial + morphTargets: true + flatShading: true onLoad: (model) -> model.states =