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

RGB with range of (0, 1) not interpreted with correct color (THREE.js) #205

Open
JaeGif opened this issue Jun 7, 2024 · 0 comments
Open

Comments

@JaeGif
Copy link

JaeGif commented Jun 7, 2024

Working with three.js and shaders, we often have normalized color codes that represent rgb where rgb(1, 1, 1) is white, rgb(0, 0, 0) is black.

When making colors using this format, the extension reads the values as x/255 and everything is represented as a deep black highlight, making it impossible to read the actual color code underneath, and not representing the true value.

Screenshot 2024-06-07 at 11 04 14 AM Screenshot 2024-06-07 at 11 05 51 AM
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

No branches or pull requests

1 participant