#game #graphics #shader


A collection of WGPU render pipelines and simple types

10 releases

0.2.6 Nov 25, 2022
0.2.5 Nov 3, 2022
0.2.3 Sep 28, 2022
0.1.2 Jun 26, 2022
0.1.0 Feb 17, 2022

#193 in Rendering

Download history 10/week @ 2023-11-03 1/week @ 2023-11-10 1/week @ 2023-11-17 10/week @ 2023-11-24 23/week @ 2023-12-01 10/week @ 2023-12-08 10/week @ 2023-12-15 20/week @ 2023-12-22 10/week @ 2024-01-05 3/week @ 2024-01-19 10/week @ 2024-01-26 10/week @ 2024-02-02 12/week @ 2024-02-09 126/week @ 2024-02-16

158 downloads per month


629 lines

renderling 🍖

This library is a collection of WGPU render pipelines and types.

Shaders are written in GLSL. shaderc is used to compile shaders to SPIR-V.


renderling noun

A WGPU graphics pipeline, along with simple types used to marshal data to the GPU.



A blinn-phong material forward shader.

renderling forward shader pipeline


A simple forward shader that supports vertices with colors and/or textures. It has a special blending uniform that determines how vertex colors should be blended with vertex UV texture coords. This enables support for colorful text.


  • Texture type
  • Mesh and MeshBuilder types


Renderling is free and open source. All code in this repository is dual-licensed under either:

MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


  • deferred shading pipeline
  • physically-based pipeline
  • rust-gpu shaders


~210K SLoC