Rust Shaders

Open-source Rust projects categorized as Shaders Edit details
Related topics: #Rust #Glsl #Graphics #OpenGL #Webgl

Top 9 Rust Shader Projects

  • rust-gpu

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

    Project mention: Mark Russinovich (Azure CTO): "it's time to halt starting any new projects in C/C++ and use Rust" | reddit.com/r/programming | 2022-09-20

    They are even writing a Rust compiler for GPU shaders, so that their codebase is entirely Rust even for GPU code. That way they might be the first people in modern history to write entire games in a single language.

  • luminance-rs

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

    Project mention: Luminance redesign; Part 1: compatible vertex types | reddit.com/r/rust_gamedev | 2022-09-06

    luminance is a graphics ecosystem focusing on type-safe and type-level API. This is part of a blog article series describing the process of redesign the API to update it to how I see things today, trying to fix several flaws of the previous design, and bring more simplicity to developers.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • compute-shader-101

    Sample code for compute shader 101 training

    Project mention: Vulkan terms vs. Direct3D 12 (aka DirectX 12) terms | reddit.com/r/vulkan | 2022-05-30
  • shame

    A shader EDSL for writing render and compute pipelines in rust

    Project mention: A shading language EDSL | reddit.com/r/rust | 2022-07-30

    Thanks for sharing. Besides what is mentioned in this post. There are many other projects solving similar problems and exploring better ways to integrate/write shaders in rust in different approaches. I list them for extra reference: https://github.com/RayMarch/shame and https://github.com/leops/rasen, https://github.com/mikialex/rendiation.

  • pilka

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

  • rusterizer

    Bare-bones software renderer written in Rust

    Project mention: Simple 3D renderer written in Rust | reddit.com/r/rust_gamedev | 2021-10-30

    I've written a simple 3D renderer entirely in Rust from scratch. You can try in an online sandbox here https://dzharvis.github.io/rusterizer/ The renderer was implemented by following these lessons I did not look at the original C++ code, so my code contains hacks or magic numbers in some places :) Anyway, I hope that this can be useful for somebody.

  • sdf-viewer

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

    Project mention: SDF Viewer: a fast and cross-platform Signed Distance Function (SDF) viewer, easily integrated with your SDF library | reddit.com/r/rust | 2022-08-06

    Afterward, this GLSL shader does the actual rendering. This shader is applied to a cuboid mesh that represents the bounding box of the object. The mesh is useful for only raytracing the part of the screen that may reach the object, and for extracting the rays for each pixel from the hit points. The shader simply walks along the ray for each pixel, moving by the amount of distance reported by the SDF on each position. If the surface is reached at some point, the normal is computed and the lighting is applied for the material saved in the closest voxel. To get the distance at a point that does not match the grid, interpolation is applied, leading to round corners if the level of detail is not high enough.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • compaster

    Rasterization using compute shaders

    Project mention: [MEDIA] Basic rasterizer using compute shaders and wgpu | reddit.com/r/rust | 2021-12-16

    repo: https://github.com/pudnax/compaster

  • wrend

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

    Project mention: Junior Dev here -- How are we setting up Rust, WASM, and webpack? | reddit.com/r/rust | 2022-09-28

    I think initially I used their autogenerated templates and other's templates as well, but lately, in my own personal projects, I've started rolling my own Webpack config (v5) with WasmPlugPlugin, which seems to work decently well most of the time. Here's one of my recent frontend crates that is fairly standalone and can be copied if you want a starter template that has been recently updated and has a good chance of compiling / working correctly for you with minimal dependencies: https://github.com/austintheriot/wrend/tree/master/examples/vanilla_rs

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 2022-09-28.

Rust Shaders related posts

Index

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

Project Stars
1 rust-gpu 4,951
2 luminance-rs 934
3 compute-shader-101 324
4 shame 170
5 pilka 86
6 rusterizer 42
7 sdf-viewer 30
8 compaster 13
9 wrend 1
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Download talent.io’s Tech Salary Report
Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io
www.talent.io