Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix threejs portal demo #79

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

rndexe
Copy link
Contributor

@rndexe rndexe commented Aug 15, 2024

  1. Move from babel-plugin-glsl to vite-plugin-glslify
  2. Update encodings_fragment to colorspace_fragment
  • Ready to merge

@abernier abernier merged commit df712af into pmndrs:main Aug 15, 2024
2 checks passed
@rndexe rndexe deleted the threejs-journey-portal branch August 15, 2024 16:21
@rndexe
Copy link
Contributor Author

rndexe commented Aug 16, 2024

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.

@rndexe
Copy link
Contributor Author

rndexe commented Aug 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants