#pixel-perfect #bevy #post-processing #effect #renderer #astortion

bevy_pixel_perfect

Pixel perfect post processing effect for Bevy similar to that in Astortion

2 releases

0.1.1 Nov 6, 2023
0.1.0 Nov 6, 2023

#1660 in Game dev

MIT/Apache

51KB
267 lines

bevy_pixel_pefect

A showcase of bevy_pixel_perfect

A pixel perfect post processing effect based on Aarthificial's Astortion renderer.

Usage

  1. Use nearest neighbor filtering. (ImagePlugin::default_nearest())
  2. Add the PixelPerfectPlugin plugin to your app.
  3. Add the PixelPerfectCamera component to your camera and set the resolution field to the desired virtual resolution.
  4. Move the camera with subpixel_position instead of translation.

Check examples for full usage example.

bevy bevy_pixel_pefect
0.12 0.1

Dependencies

~37–74MB
~1M SLoC