#gamedev #shader #graphics #pixel #reference #debugging #software-renderer #triangle #four

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

#323 in Graphics APIs

Download history 54/week @ 2025-03-06 1/week @ 2025-05-08 3/week @ 2025-05-15

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

~5.5MB
~176K SLoC