mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-23 21:47:16 -04:00
@strudel/shader
Helpers for drawing shader.
Todos
Here are the things that needs to be implemented:
- Shader compilation error reporting, e.g. to show the line number
- Shader import from url, like shadertoy or git
- Display shader author attribution, e.g. to respect CC-BY
- Handle WebGL context lost by restoring the objects.
- Multiple instances and custom canvas positions
- Multiple programs, to be swapped like a pattern
- Texture inputs
- Buffer inputs, e.g. to generate a texture