mirror of
https://github.com/bevyengine/bevy
synced 2025-01-08 03:08:55 +00:00
3efef59d83
# Objective
Currently, UI is always rendered with anti-aliasing. This makes bevy's
UI completely unsuitable for art-styles that demands hard pixelated
edges, such as retro-style games.
## Solution
Add a component for disabling anti-aliasing in UI.
## Testing
In
[`examples/ui/button.rs`](
|
||
---|---|---|
.. | ||
mod.rs | ||
pipeline.rs | ||
render_pass.rs | ||
ui.wgsl | ||
ui_material.wgsl | ||
ui_material_pipeline.rs | ||
ui_texture_slice.wgsl | ||
ui_texture_slice_pipeline.rs | ||
ui_vertex_output.wgsl |