2 releases
0.1.1 | Nov 6, 2023 |
---|---|
0.1.0 | Nov 6, 2023 |
#1716 in Game dev
51KB
267 lines
bevy_pixel_pefect
A pixel perfect post processing effect based on Aarthificial's Astortion renderer.
Usage
- Use nearest neighbor filtering. (
ImagePlugin::default_nearest()
) - Add the
PixelPerfectPlugin
plugin to your app. - Add the
PixelPerfectCamera
component to your camera and set theresolution
field to the desired virtual resolution. - Move the camera with
subpixel_position
instead of translation.
Check examples
for full usage example.
bevy |
bevy_pixel_pefect |
---|---|
0.12 |
0.1 |
Dependencies
~40–73MB
~1.5M SLoC