Skip to content

Code WGSL shaders & export HQ frames: powered by wgpu and has hot reload for shaders

License

Notifications You must be signed in to change notification settings

altunenes/cuneus

Repository files navigation

Shader Binary Release crates.io

cuneus sdf

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
  • Easily use your own videos as textures (thanks to the gstreamer)
  • Export HQ frames via egui

Current look

Cuneus IDE Interface

Keys

  • F full screen/minimal screen, H hide egui

Usage

  • cargo run --example tui_browser to see the list of shaders. use your mouse/keyboard to navigate.
  • 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

  • Or use tui browser via ratatui (thanks to davehorner):

    cargo run --example tui_browser

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
rorschach nebula genuary18

Code

Code

Code
Poe2:loading tree voronoi

Code

Code

Code