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

Added support for colors with values from 0 to 1, useful in shaders, like vec3() or vec4() #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Lerg
Copy link

@Lerg Lerg commented Dec 19, 2023

The extension doesn't support float colors in range from 0.0 to 1.0.
I wanted this for my shader coding so I added a support for it.

Colors like vec3(0.1, 0.2, 0.3) or vec4(0.1, 0.2, 0.3, 0.4)

The code probably needs some clean up, but I'm not a TypeScript developer so I don't know much about it.

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

Successfully merging this pull request may close these issues.

1 participant