Skip to content
프로젝트

소개

Engine for creating compute shader apps. easy multi pass pipelines, hot reload, audio/video input via gst, GPU sound and frame export

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • Hot shader reloading
  • 3DGS Rendering Inference (PLY Import, radix gpu sort)
  • glTF/GLB models with custom WGSL materials (animation, shadows, GPU instancing and crowds)
  • Interactive parameter adjustment, ez media imports through egui

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Shader Binary Release crates.io

cuneus sdf

A GPU compute engine for creating, tweaking, and shipping WGSL shader programs. Built on wgpu, egui, winit and gstreamer :-)

Current Features

  • Hot shader reloading
  • Multi-pass
  • 3DGS Rendering Inference (PLY Import, radix gpu sort)
  • glTF/GLB models with custom WGSL materials (animation, shadows, GPU instancing and crowds)
  • Interactive parameter adjustment, ez media imports through egui
  • Easily use HDR textures, videos/webcam via UI
  • Audio/Visual synchronization: Spectrum and BPM detection
  • Real-time audio synthesis: Generate music directly from wgsl shaders
  • Export HQ frames via egui
  • Frame-accurate audio sync on export: pre analyzed spectrum/BPM per frame for perfect mux with the source audio

Builder Pattern

Cuneus uses a declarative builder to configure your entire compute pipeline. You say what you need — the engine handles all bind group layouts, ping-pong buffers, and pipeline wiring:

// Define your multi-pass pipeline as a dependency graph:
let passes = vec![
    PassDescription::new("compute_field", &[]),               // no inputs
    PassDescription::new("render", &["compute_field"]),       // reads compute_field
    PassDescription::new("feedback", &["render", "feedback"]),// reads render + own previous frame
    PassDescription::new("main_image", &["feedback"]),
];

let config = ComputeShader::builder()
    .with_multi_pass(&passes)           // the render graph above
    .with_custom_uniforms::<MyParams>() // UI-controllable parameters
    .with_mouse()                       // mouse input
    .build();

Dependencies are packed sequentially — &["render", "feedback"] becomes input_texture0 and input_texture1 in WGSL. Self-reference enables cross-frame feedback (ping-pong) automatically. One .dispatch() call runs the entire pipeline. See usage.md for the full guide.

Current look

Cuneus IDE Interface

Keys

  • F full screen/minimal screen, H hide egui (for my examples)

Usage

  • If you want to try your own shaders, check out the usage.md and see BUILD.md.
  • Optional Media Support: GStreamer dependencies are optional - use --no-default-features for lightweight builds
  • When using cuneus as a dependency (via cargo add):
    • Copy build.rs to your project root to configure GStreamer paths (only needed for media features)
    • then simply use use cuneus::prelude::*;

Run examples

  • cargo run --release --example *file*
  • Or download on the releases

Gallery

Physarum JFA Volumetric Passage

Code

Code

Code
PathTracing Mandelbulb Galaxy Path Tracing Tame Impala

Code

Code

Code
Buddhabrot FFT(Butterworth filter) Fluid

Code

Code

Code
Block Tower: 3D Game GPU Synthesizer 2DGS:real time training

Code

Code

Code
Schwarzschild bh Lichtenberg audio visualizer

Code

Code

Code
ggxbrot bugberman: 3D game rorschach

Code

Code

Code

관련 프로젝트 살펴보기

불러오는 중…