I have made this codepen for my code, since im using a cms, without being able to build. I have to use the cdn version of it.
I’m getting the error that EffectComposer is not a function. I have tried changing everything to "import * as … " without results and getting a cannot build error.
It looks like there is something wrong with my glb file, when i put it inside here: https://gltf-viewer.donmccurdy.com/ it looks fine but when loading into a loader. It gives me the object error