Michael
Michael

Reputation: 11914

How to migrate from Three.js REVISION: 67 to REVISION: 73

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.

Upvotes: 0

Views: 188

Answers (1)

2pha
2pha

Reputation: 10165

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.

Upvotes: 1

Related Questions