Replies: 1 comment
-
@jhgarner I was struggling with the same issue, and I didn't find any way to turn off the antialiasing for font. But I managed to find a roundabout way to get good results. The blurred antialiasing comes mostly from zoom at a low pixel count (your font is zoomed in like your game), so you can multiply your font size few times, and then use |
Beta Was this translation helpful? Give feedback.
-
I've got a font that should match a pixel art aesthetic (https://kottke.org/plus/type/silkscreen/index.html), but when I try to draw a Text2DBundle with it, the text comes out blurry. For sprites I've seen that you can use
ImagePlugin::default_nearest()
to disable anti-aliasing, but I couldn't find an equivalent setting for Text. Is there a way to render text such that it snaps to the pixel grid without anti-aliasing in Bevy? Alternatively, are there ways to work with positions and sizes so the font won't anti-alias?Beta Was this translation helpful? Give feedback.
All reactions