bevyengine / bevyengine/bevy

Ui Anti-aliasing radius setting

Open
#16,389 1 comment 0 reactions 0 assignees View on GitHub
A-UI C-Feature D-Straightforward S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

The UI AA radius should be be configurable I think to allow for fine-tuning

## What solution would you like?

My naive idea was to give the `On` variant of `UiAntiAlias` a `radius: f32` field, then extract the radius, bitcast the float to an int, put it into a `ShaderDefVal` and then bitcast it back again to a float in the shader. This might be a terrible thing to do though.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.