Open zen85 opened 1 year ago
@zen85 thanks for reaching out.
This is essentially because on v0.125
of ThreeJS there was a breaking API change introduced. Plain geometries were deprecated, and what was previously called buffer geometries started being called just geometries. You can find the details of that release here:
https://github.com/mrdoob/three.js/releases/tag/r125
The result is that the code in this module expects a sphere buffer geometry to create the glow, which in the new spec is simply called SphereGeometry
. While in versions prior to 125
, SphereGeometry
was not a buffer geometry that's why the code chokes.
So, unfortunately there's not really much choice other the upgrading the three version to at least 125
if you want it to be compatible with the latest version of this module.
I am also updating the min version in peerDependencies
to reflect this.
the atmosphere is not rendering and the three-globe library throws this in the console:
if i include my libraries like that (as you can see i also switched the tbcontrols with the OrbitControls):
it works but just has problems with the atmosphere apparently.