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

If different files reference the same module, an error will be reported #3

Closed
sqchenxiyuan opened this issue Nov 17, 2021 · 2 comments
Assignees
Labels
needs clarification Waiting for more information

Comments

@sqchenxiyuan
Copy link

If different files reference the same module, an error will be reported

A -> B -> C
A -> D -> C

@UstymUkhman
Copy link
Owner

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!

@UstymUkhman UstymUkhman self-assigned this Nov 17, 2021
@UstymUkhman UstymUkhman added the needs clarification Waiting for more information label Nov 17, 2021
@UstymUkhman
Copy link
Owner

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!

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

No branches or pull requests

2 participants