Comments (2)
Hi! Yes, the Hot Reloading is one feature that's definitely missing here. I'm not quite sure that's possible with shader files, but I haven't made that much research to be honest.
A while ago I've also started developing my own game and I needed a plugin like this to manage my shaders. Now it's doing a pretty decent work for me so I prefer now to focus on other pet projects, but I agree with you that there's room for improvements here. So long story short, I'll be happy if you could take a look about adding these features an create PRs whenever you succeed at implementing a stable feature. Thanks a lot and good luck! 🙂
from vite-plugin-glsl.
I'm closing this one since I've added minification & warning options (multi-shader support) mentioned above. One thing that's left is the "hot reloading" improvement for which there's a dedicated issue #19. Feel free to open new issues for any unmentioned improvement, thanks!
from vite-plugin-glsl.
Related Issues (20)
- Import other NPM packages i.e. glsl-noise HOT 3
- Watcher crashes when using the plugin with Astro HOT 7
- Typscript Support for Importing Shaders HOT 8
- Watch, hot reload, server restart on 1.1.0 HOT 8
- Failed to resolve entry for package "vite-plugin-glsl" in vanilla TypeScript project. HOT 3
- [Question] Unexpected identifier HOT 7
- can't 'go to definition' to source file HOT 8
- Unable to import glsl file properly HOT 5
- Error while importing shader HOT 1
- Seeking Help: Manual Refresh Required for GLSL Code Updates in Vite/React-Three-Fiber HOT 2
- 'include' : invalid directive name HOT 13
- Tips for making this work with GLSL Lint HOT 3
- how can i remove comments like // or /* */ HOT 3
- Add Bun Support HOT 2
- Could it support custom decompression ? HOT 5
- Compress erros on Three with chunks and imports HOT 3
- I facing an issue while using a package which uses .glsl files (sheryjs) HOT 3
- Does it support the react WGSL apps build with vite? HOT 1
- compact goes wrong with this code HOT 4
- HMR in vuejs working weirdly HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vite-plugin-glsl.