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

array uniforms #14

Open
camilleroux opened this issue Jan 28, 2024 · 1 comment
Open

array uniforms #14

camilleroux opened this issue Jan 28, 2024 · 1 comment

Comments

@camilleroux
Copy link
Contributor

Hi,

Is there a way to send an array as uniform to a shader? (which don't have the size of a vec or a mat)
If no, is there an other way to send a list of values to the shader? Thanks!

@znah
Copy link
Collaborator

znah commented Jan 28, 2024

Only arrays of vecs or mats are supported for now (e.g. https://github.com/google/swissgl/blob/main/demo/NeuralCA.js)
I'll try to add this feature soon

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

No branches or pull requests

2 participants