Skip to content

Commit

Permalink
fix: Disable MSAA in pixel art mode (#433)
Browse files Browse the repository at this point in the history
Disable MSAA when in pixel art mode. It seems to add artifacts with
texture sampling. Example: fishfolk/jumpy#1014
  • Loading branch information
MaxCWhitehead authored Aug 7, 2024
1 parent 3d6398d commit b08348a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework_crates/bones_bevy_renderer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ impl BonesBevyRenderer {
.build();
if self.pixel_art {
plugins = plugins.set(ImagePlugin::default_nearest());
app.insert_resource(Msaa::Off);
}

app.add_plugins(plugins).add_plugins((
Expand Down

0 comments on commit b08348a

Please sign in to comment.