In more detail, the changes were:
- $FOO.addChild and $FOO.addLight were merged into a single method, $FOO.add
- Camera was deprecated and split into a PerspectiveCamera and OrthographicCamera
- Camera no longer has a target that it tracks, you need to use camera.lookAt(vec3) on every frame to accomplish that.
- MeshShaderMaterial was deprecated and renamed to ShaderMaterial
- material.ambient now needs an AmbientLight in the scene to work (AmbientLight color is multiplied by material.ambient in the shader)
- ColladaLoader was renamed to THREE.ColladaLoader
No comments:
Post a Comment