Skip to content
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

Add a perceptual color space for color picking #4325

Closed
fire opened this issue Apr 1, 2022 · 0 comments · Fixed by godotengine/godot#59786
Closed

Add a perceptual color space for color picking #4325

fire opened this issue Apr 1, 2022 · 0 comments · Fixed by godotengine/godot#59786
Milestone

Comments

@fire
Copy link
Member

fire commented Apr 1, 2022

Describe the project you are working on

Creative driven 3d multiplayer game

Describe the problem or limitation you are having in your project

Picking colours can be improved because it's not easy.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Implement Oklab HSL color picking.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Implement https://bottosson.github.io/posts/oklab/

A perceptual color space is desirable when doing many kinds of image processing. It is useful for things like:

Turning an image grayscale, while keeping the perceived lightness the same
Increasing the saturation of colors, while maintaining perceived hue and lightness
Creating smooth and uniform looking transitions between colors

2022-04-01.05-11-46.mp4

Open question about default for pickers. Please advise.

If this enhancement will not be used often, can it be worked around with a few lines of script?

Requires core changes and a shader. Not so trivial.

Is there a reason why this should be core and not an add-on in the asset library?

UIUX things are about reducing steps to get a result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants