From the project perspective, the most notable changes are of course the ones that concern Three.js:
BoxGeometry is now based on BufferGeometry instead of Geometry, which required some changes to how the vertices are mapped.
The parameters of renderer.render() has changed, which required two new calls to renderer.setRenderTarget().
THREE.LensFlare has been moved out of core and has to be included from the examples instead.
VRControls has been deprecated.
One of the recent updates (0.152) affects the color and lighting. To preserve the current settings, I opted to revert back to the old default color space. There's a comment in the code that describes how we should address this later.
This PR updates all dependencies to the latest versions, with the exception of
open
andora
which require migrating the project from CommonJS to ESM before we can use the latest versions of those (see https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).From the project perspective, the most notable changes are of course the ones that concern Three.js:
BoxGeometry
is now based onBufferGeometry
instead ofGeometry
, which required some changes to how the vertices are mapped.renderer.render()
has changed, which required two new calls torenderer.setRenderTarget()
.THREE.LensFlare
has been moved out of core and has to be included from the examples instead.VRControls
has been deprecated.See https://github.com/mrdoob/three.js/wiki/Migration-Guide for an overview of all Three.js changes.
The Webpack configs are not necessarily the ideal ones for a modern project, but they are working. We can refine these separately.