Skip to content

Commit af9d294

Browse files
authored
N20: rafx (#543)
1 parent f4e2a2a commit af9d294

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

content/posts/newsletter-020/index.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,33 @@ _Discussions: [/r/rust_gamedev](https://www.reddit.com/r/rust_gamedev/comments/m
284284
[@wumpf]: https://github.com/Wumpf
285285
[graphics team blog]: https://mozillagfx.wordpress.com/2021/03/10/webgpu-progress/
286286

287+
### [rafx]
288+
289+
![rafx tilemap rendering](rafx-tilemap-rendering.png)
290+
_Rafx rendering an example tilemap from [LDTK level editor][rafx-ldtk]_
291+
292+
Rafx is a multi-backend renderer that optionally integrates with the
293+
[distill][rafx-distill] asset pipeline. This month, we introduced a fourth
294+
layer to the library, `rafx-renderer`. It provides a plugin system, simplifying
295+
framework setup in a project.
296+
297+
The demo now includes a tilemap renderer that integrates with the [LDTK level
298+
editor][rafx-ldtk]. The `distill` integration processes the level files offline
299+
for very efficient loading/rendering at runtime.
300+
301+
Sprite rendering in general is also much faster now. Scenes with 40k-100k
302+
sprites can render at 60fps (measured on M1 mini) depending on
303+
transparency/distinct Z values in the scene. New examples demonstrate tilemap
304+
and sprite rendering.
305+
306+
Early work was also done to reuse descriptor sets across frames and reduce
307+
dynamic memory allocation when working with descriptor sets. Rafx also
308+
includes more options for HDR tonemapping.
309+
310+
[rafx]: https://github.com/aclysma/rafx
311+
[rafx-distill]: https://github.com/amethyst/distill
312+
[rafx-ldtk]: https://ldtk.io
313+
287314
### [WhatTheFrame]
288315

289316
![whattheframe gui](whattheframe.png)
Loading

0 commit comments

Comments
 (0)