bevyengine / bevyengine/bevy

Add shader color conversion methods

Open
#12,201 0 comments 0 reactions 0 assignees View on GitHub
A-Color A-Rendering C-Feature
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

>That makes sense. I've done something similar: my gradient slider UiMaterial shader interpolates in Srgba, because it looks much better that way.
>I can envision a future version of Gizmos which does the interpolation in oklab (which, by many accounts, produces the best looking gradients).
>Maybe we need to consider a library of color conversion functions written for shader code?

_Originally posted by @viridia in https://github.com/bevyengine/bevy/issues/12162#issuecomment-1970461738_

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.