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

Support shared glsl libraries #485

Open
xian opened this issue Aug 18, 2022 · 0 comments
Open

Support shared glsl libraries #485

xian opened this issue Aug 18, 2022 · 0 comments

Comments

@xian
Copy link
Member

xian commented Aug 18, 2022

Maybe something like an #include or #import directive?

Some considerations:

  • Are imported functions namespaced/namespaceable? A library could easily have its own privately-used functions like random() that ideally wouldn't be exposed.
  • How do you provide libraries, and where do they live?
    • maybe Sparkle Motion ships with some, like rgb2hsv()
    • maybe you can create (more)
  • (More...)
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

1 participant