#shader #graphics #gamedev

no-std shadybug

a simple reference software renderer to be used for debugging shaders

4 releases (breaking)

Uses new Rust 2024

0.4.0 Mar 4, 2025
0.3.0 Mar 1, 2025
0.2.0 Feb 28, 2025
0.1.0 Feb 27, 2025

#579 in Development tools

Download history 223/week @ 2025-02-23 216/week @ 2025-03-02 16/week @ 2025-03-09

186 downloads per month

MIT/Apache

27KB
614 lines

License Crates.io Downloads Docs

Shadybug

Shadybug is a simple reference software renderer to be used for debugging shaders.

It's designed to make it easy to port shaders to Rust, and run them for one triangle or four pixels.

Examples

Try this:

cargo run --example cube  --features image

which should create an image named cube.png:

a red cube

Dependencies

~5MB
~147K SLoC