bevy_sdf_klown

Crates.iobevy_sdf_klown
lib.rsbevy_sdf_klown
version0.1.2
created_at2025-07-07 17:51:33.091182+00
updated_at2025-08-10 10:22:25.035483+00
descriptionGeneral Pupose sdf plugin for bevy
homepage
repositoryhttps://github.com/klownie/bevy_sdf_klown
max_upload_size
id1741598
size10,363,644
klownie (klownie)

documentation

README

🌌 Bevy SDF

Bevy SDF is a general-purpose signed distance field (SDF) rendering plugin for Bevy. It supports dynamic SDF composition, material shading, and runtime scene manipulation.


🚧 Warning: Work in Progress

This crate is still under active development and needs significant optimization to perform well on most systems.

💡 Any help or contributions are greatly appreciated!


✨ Features

  • ✅ Compatibility with bevy-skein
  • ✅ Modifiable SDFs during game runtime
  • ⏳ Custom hard-coded SDF shapes (planned)
  • ⏳ Physically-Based Material (color, roughness, fresnel, metallic)
  • ✅ Subsurface material shader for SDFs
  • ⏳ Custom hard-coded SDF shaders (planned)
  • ✅ SDF modifiers (e.g. union, blend, transforms)
  • ✅ Fractal shapes MandelBulb, JuliaQuaternion, MengerSponge
  • ⏳ Compatibility with bevy_solari (planned)
  • ⏳ Compatibility with WGSL shaders (planned)
  • ⏳ Shape instancing (planned)
  • ⏳ Dynamic SdOp capacity (currently hardcoded)

Compatibility

bevy_sdf bevy
main 0.16
0.1 0.16

Showcases


Screenshots from the simple scene example

view with cargo r --example simple_scene simple_scene_screenshots simple_scene_screenshots


Sub Surface Scattering

sub surface scattering from my game

view with cargo r --example sss_material sub surface scattering from example


Video from my games where im using this crate

Warithmonia YouTube Preview

🔗 Other Raymarchers for Bevy

If you're into SDFs or ray marching, check out:

  • bevy_march — a fast and capable alternative ray marcher.
Commit count: 0

cargo fmt