sparklemotion icon indicating copy to clipboard operation
sparklemotion copied to clipboard

Support shared glsl libraries

Open xian opened this issue 2 years ago • 0 comments

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...)

xian avatar Aug 18 '22 21:08 xian