Ad

How To Migrate From Three.js REVISION: 67 To REVISION: 73

- 1 answer

I'm new to Three.js

I read a book Three.js Essentials

I can not understand why with Three.js REVISION: 67 (which is given in the book) this code http://pastebin.com/c4Fhs9Hr works (correctly)

enter image description here

but with REVISION: 73

enter image description here

Tell me please how to fix this problem and why it happens.

Ad

Answer

They look different because the shading property of the MeshNormalMaterial was removed in THIS commit.
If you are just following through the tutorials in that book (which had an excellent reviewer :) ) you should not worry about it.

Ad
source: stackoverflow.com
Ad