Rust Shaders

Open-source Rust projects categorized as Shaders

Top 11 Rust Shader Projects

  • rust-gpu

    🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

    Project mention: Candle: Torch Replacement in Rust | | 2023-08-08

    I don't do anything related to data science, but I feel like doing it in Rust would be nice.

    You get operator overloading, so you can have ergonomic matrix operations that are typed also. Processing data on the CPU is fast, and crates like make it very ergonomic to leverage the GPU.

    I like this library for creating typed coordinate spaces for graphics programming (, I imagine something similar could be done to create refined types for matrices so you don't do matrix multiplication matrices of invalid sizes

  • luminance-rs

    Type-safe, type-level and stateless Rust graphics framework

    Project mention: Introducing posh: Type-Safe Graphics Programming in Rust | /r/rust | 2023-06-04

    gives me same vibes as

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • compute-shader-101

    Sample code for compute shader 101 training

    Project mention: wgpu-rs resources for computing purposes only | /r/rust | 2023-03-10

    You might find compute shader 101 useful.

  • shame

    A shader EDSL for writing render and compute pipelines in rust

  • bevy_smud

    Sdf 2d shape renderer for Bevy

    Project mention: How to make a 2D torus in Bevy? | /r/bevy | 2023-04-21

    Also bevy_smud

  • pilka

    Another live-coding tool for creating shader demos, Vulkan+Wgpu powered.

  • wrend

    A framework-agnostic Rust/WASM + WebGL2 Rendering library, compatible with calling from both Rust and JavaScript on the web.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • shadertoy-rs

    A desktop client for Shadertoy written in Rust

    Project mention: Is it technically possible for emulators to apply shaders in different bgs? | /r/emulation | 2023-05-23

    Then, as you probably noticed, I also added my not-emulable-games-but-id-still-like-to-have-them-in-there-and-its-pretty. I added PS4, PS5, Switch games manually. Thankfully I don't buy enough of them these days that it becomes a problem to sync. As for launching, well, the TV is plugged to them. Still, they needed to be launchable (otherwise Launchbox is unhappy). What I did was fork shadertoy-rs ( to add capabilities for randomized shaders and displaying a title. All these shaders are animated, look great in fullscreen and serve as a nice little distraction as you start up whatever console. shadertoy-rs also closes on any input, so it's easy to get back to the list. Need to also add automatically the author and the shader name for more flair. The current list of whitelisted shaders that I have on random are (beware, some of them might be a bit cpu intensive):

  • sdf-viewer

    A fast and cross-platform Signed Distance Function (SDF) viewer, easily integrated with your SDF library.

  • rusterizer

    Bare-bones software renderer written in Rust

  • compaster

    Rasterization using compute shaders

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-08.

Rust Shaders related posts


What are some of the best open-source Shader projects in Rust? This list will help you:

Project Stars
1 rust-gpu 6,495
2 luminance-rs 1,082
3 compute-shader-101 430
4 shame 229
5 bevy_smud 121
6 pilka 119
7 wrend 107
8 shadertoy-rs 61
9 sdf-viewer 61
10 rusterizer 44
11 compaster 16
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives