Skip to content

Support shader channels #3

@sin-ack

Description

@sin-ack

A majority of Shadertoy shaders use channels to provide textures to the shader. We cannot run these shaders unless the texture is provided somehow.

Open questions:

  • How to provide the texture? CLI argument? Have a folder represent a shader?
  • Shader texture format? Pull in some library that can handle multiple formats? Don't wanna bring in too many dependencies. Maybe zigimg is good enough? Look into how Shadertoy itself does it.
  • Channels are not only for providing textures, but for sound, sub-shaders etc. as well, including stuff like microphone input (!). How do we represent this? Maybe there should be a descriptor file (ZON makes sense I guess) that says what each channel is about.

Metadata

Metadata

Assignees

Labels

P-highPriority: HighT-featureType: New feature

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions