/rfw-rs

Framework for playing around with rendering libraries in Rust

Primary LanguageC++Apache License 2.0Apache-2.0

Rust RFW

Rendering framework written in Rust. This project is a playground for me (@MeirBon) to get to know Rust better and easily play around with libraries such as wgpu and ash. It is heavily based on my similarly named C++ project rendering-fw.

Features

  • A powerful scene component that lets you efficiently manage 3D and 2D objects with included instancing support.
  • A wgpu backend that support spot-lights, directional lights and area lights.
  • Decent performance, even with >=10k instances.
  • Anything that l3d supports (currently gltf and obj files).
  • Backend-agnostic font rendering powered by glyph_brush.

TODO

  • ray casting support (should be relatively easy using rtbvh)
  • physics support (ideally using rapier)
  • point light support in wgpu backend
  • easy-to-use ecs architecture

deferred.png deferred-2.png gpu-rt