我正在使用优秀的 Bevy 游戏引擎开发我的殖民地模拟/动作游戏,但由于我需要进行大量实时程序生成/动画,因此 wgpu 渲染器的速度太慢了。<p>于是我编写了自己的 Rust/Vulkan 渲染器,并将其与 Bevy 集成。虽然它很丑、存在许多 bug,并且使用起来困难,但速度却快了好几倍。<p>完整的源代码以及 9 个基准测试,比较了与默认 wgpu 渲染器的性能:<a href="https://github.com/wkwan/flo" rel="nofollow">https://github.com/wkwan/flo</a><p>视频中我展示了这些示例并在 Steam Deck 上运行它们:<a href="https://www.youtube.com/watch?v=y1m30oOksmI" rel="nofollow">https://www.youtube.com/watch?v=y1m30oOksmI</a>
返回首页