2个版本
| 0.1.1 | 2023年11月6日 | 
|---|---|
| 0.1.0 | 2023年11月6日 | 
#1457 在 游戏开发
51KB
267 代码行
bevy_pixel_pefect

基于Aarthificial的Astortion渲染器的一个像素完美后处理效果。
使用方法
- 使用最近邻过滤。(ImagePlugin::default_nearest())
- 将PixelPerfectPlugin插件添加到您的应用程序中。
- 将PixelPerfectCamera组件添加到您的相机中,并将resolution字段设置为所需的虚拟分辨率。
- 使用subpixel_position而不是平移来移动相机。
查看examples以获取完整的用法示例。
| bevy | bevy_pixel_pefect | 
|---|---|
| 0.12 | 0.1 | 
依赖关系
~37–71MB
~1M SLoC