Closed rndexe closed 3 months ago
The portal shadermaterial is not working in production. I'll have to fix that as well. Apparently vite/vite-plugin-glslify is not compiling the shader at build time, I could use a little help in trying to find a solution.
On further analysis, it works fine when I run
npm run -w demos/threejs-journey-portal/ build
npm run -w demos/threejs-journey-portal/ preview
But it breaks when running npm run build && npx serve out