Comments (2)
Hi @sqchenxiyuan ! Thanks for opening this issue, but I'm afraid, I need some more info.
Can you please share your files tree hierarchy and the source code of shaders A
, B
and C
? Also it would be nice to see the actual error you're facing.
The only thing I can imagine right now is that if in your shader C
you're defining some uniform / variable multiple times, it could be a WebGL program error which is expected. Also, there might be some unintentional recursion in chunks imports which might result in some other error and this is totally expected as well.
Unfortunately I can't tell exactly where is the problem without any error message or source code.
Waiting for updates, cheers!
from vite-plugin-glsl.
I'm closing this issue since there haven't been updates for 2 months. Feel free to re-open (with a descriptive error message) if something similar will manifest again. Thanks!
from vite-plugin-glsl.
Related Issues (20)
- Error "require() of ES Module not supported." after adding vite-plugin-glsl to vite.config.ts HOT 8
- `#version 300 es` comment gets removed HOT 2
- 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
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.