bevy_pixel_perfect

Crates.iobevy_pixel_perfect
lib.rsbevy_pixel_perfect
version0.1.1
sourcesrc
created_at2023-11-06 11:49:33.796845
updated_at2023-11-06 20:16:47.376293
descriptionPixel perfect post processing effect for Bevy similar to that in Astortion.
homepage
repositoryhttps://github.com/HazelTheWitch/bevy_pixel_perfect
max_upload_size
id1026854
size138,115
Hazel (HazelTheWitch)

documentation

README

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
Commit count: 30

cargo fmt