#shader #wgpu #wgpu-shader

shady

A shadertoy-like library to be able to easily integrate shadertoy-like stuff in your applications

16 stable releases (7 major)

7.0.0 Mar 11, 2025
6.0.1 Mar 5, 2025
6.0.0 Feb 25, 2025
5.0.5 Feb 24, 2025
0.1.0 Feb 21, 2025

#479 in Graphics APIs

Download history 1059/week @ 2025-02-19 218/week @ 2025-02-26 226/week @ 2025-03-05 67/week @ 2025-03-12

728 downloads per month

GPL-3.0-or-later

55KB
1.5K SLoC

shady-lib

The main library which takes care of the uniform/storage buffers, vertices and templates.

The idea is that other applications who wish to include shadertoy-like shaders into their application to use this library which takes care most of the data to be able to run those shaders.

State

It's useable, however I'm a bit unsure about the architecture because I don't really know what a good API looks like for a graphics-programmer.

Example

A simple example can be seen here: https://github.com/TornaxO7/shady/blob/main/shady-lib/examples/mini-simple.rs if you want to include it to your app. All relevant places where you have to "interact" with shady are annoted with the // SHADY comments.

Dependencies

~12–43MB
~678K SLoC