mirror of
https://github.com/bevyengine/bevy
synced 2025-01-06 18:28:59 +00:00
901d71b81c
# Objective - #13523 introduced a new bug on rounded corners in UI on buttons - there are artefacts outside of the border, and the text in buttons is more gray than it should be - example `color_grading`: <img width="1280" alt="Screenshot 2024-05-27 at 22 19 13" src="https://github.com/bevyengine/bevy/assets/8672791/fbb6a8ba-2096-4fcc-9c94-3764e9d16d2f"> ## Solution - Clamp alpha to be between 0.0 and 1.0 <img width="1280" alt="Screenshot 2024-05-27 at 22 18 19" src="https://github.com/bevyengine/bevy/assets/8672791/295d8e16-30eb-40cc-8d61-4995fca6dded"> |
||
---|---|---|
.. | ||
mod.rs | ||
pipeline.rs | ||
render_pass.rs | ||
ui.wgsl | ||
ui_material.wgsl | ||
ui_material_pipeline.rs | ||
ui_vertex_output.wgsl |