4 releases (breaking)

0.3.0 Dec 21, 2024
0.2.0 Mar 22, 2024
0.1.0 Jan 26, 2023
0.0.1 Nov 25, 2022
0.0.0 Jun 4, 2019

#365 in Game dev

Download history 2/week @ 2024-09-18 8/week @ 2024-09-25 5/week @ 2024-10-30 5/week @ 2024-11-06 3/week @ 2024-11-27 13/week @ 2024-12-04 1/week @ 2024-12-11 127/week @ 2024-12-18 19/week @ 2024-12-25

162 downloads per month

MIT license

3.5MB
19K SLoC

Blade

Matrix Build Status Docs Crates.io Crates.io Crates.io

Blade is an innovative rendering solution for Rust. It starts with a lean low-level GPU abstraction focused at ergonomics and fun. It then grows into a high-level rendering library that utilizes hardware ray-tracing. It's accompanied by a task-parallel asset pipeline together with egui support, turning into a minimal rendering engine. Finally, the top-level Blade engine combines all of this with Rapier3D-based physics and hides them behind a concise API. Talks:

architecture

Examples

scene editor particle example vehicle example sponza scene

Instructions

Just the usual 🦀 workflow. E.g. to run the bunny-mark benchmark run:

cargo run --release --example bunnymark

Platforms

The full-stack Blade Engine can only run on Vulkan with hardware Ray Tracing support. However, on secondary platforms, such as Metal and GLES/WebGL2, one can still use Blde-Graphics and Blade-Egui.

Dependencies

~25–42MB
~777K SLoC