#shaders #wgpu #gpu #graphics

bin+lib cuneus

A WGPU-based shader development tool

2 releases

new 0.1.3 Jan 14, 2025
0.1.2 Jan 5, 2025

#70 in Rendering

Download history 60/week @ 2024-12-30 60/week @ 2025-01-06

120 downloads per month

MIT license

490KB
12K SLoC

Rust 9K SLoC // 0.0% comments WebGPU Shader Language 2.5K SLoC // 0.0% comments

Shader Binary Release crates.io

Cuneus 🌈

A tool for experimenting with WGSL shaders, it uses wgpu for rendering, egui for the UI, winit for windowing, and notify for hot-reload. :-)

Current Features

  • Hot shader reloading
  • Multi-pass, atomics etc
  • Interactive parameter adjustment, ez Texture loading through egui
  • Export HQ frames via egui

Current look

Cuneus IDE Interface

Keys

  • F full screen/minimal screen, H hide egui

Usage

  • If you want to try your own shaders, check out the usage.md.

Open my shaders

  • cargo run --release --bin file
  • Or download on the releases

Gallery

Sinh Signed Distance Satan

Code

Code

Code
Mandelbulb Lich Galaxy

Code

Code

Code
Xmas Droste Clifford

Code

Code

Code
orbits dna genuary6

Code

Code

Code

Dependencies

~22–56MB
~1M SLoC