-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
More UI gradients fixes #20035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alice-i-cecile
merged 24 commits into
bevyengine:main
from
ickshonpe:more-ui-gradients-fixes
Aug 4, 2025
Merged
More UI gradients fixes #20035
Changes from 8 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d651e12
Expanded gradients testbed ui example scene
ickshonpe a34ef60
Added gamma constants to gradients shader
ickshonpe 6b896da
Add more example caases
ickshonpe 5033c67
add gamma correction to hsl and hsv conversion functions
ickshonpe 517794a
more examples
ickshonpe cdd2e77
use gamma constants in srgbs mix function
ickshonpe 204127a
use more accurate gamma functions
ickshonpe 898a93e
Added hue guarding the cylindrical gradients so if the chroma or satu…
ickshonpe 908ccd5
Added row_gap to example layout.
ickshonpe 3df4d3f
Added HUE_GUARD constant
ickshonpe 34d94e0
Add hue guard explanation
ickshonpe d18dd7a
Unbreak oklch long paths
ickshonpe 593ee53
Merge branch 'main' into more-ui-gradients-fixes
ickshonpe f512e23
removed left over line from merge
ickshonpe 90f8241
Fixed problems after merge: mix alpha seperately, replaced gamma func…
ickshonpe 465c0c7
Use Normalized hues for oklch colors in gradient.wgsl
ickshonpe 13aeea3
reintroduced hue guards
ickshonpe 2f7251c
Expanded example to include problematic hsl gradients from review.
ickshonpe d0f66c7
Improved example layout
ickshonpe d07cab5
Added hue guards to hsl interpolation functions
ickshonpe eb56beb
Merge branch 'main' into more-ui-gradients-fixes
ickshonpe dd20eae
Fixed hsl hue interpolation calculation.
ickshonpe 5f31447
Merge branch 'more-ui-gradients-fixes' of https://github.com/ickshonp…
ickshonpe 112f319
Added another gradient to the example.
ickshonpe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.