-
Notifications
You must be signed in to change notification settings - Fork 56
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 OpenGL Color Format Support #123
Comments
Is this what you had in mind, @cadupuy? Also, what level of precision for the decimal points would make the most sense? 0.00? 0.000? Pika doesn't handle transparencies, so I've hardcoded 1.0 for the alpha. Let me know what you think, and thanks for the suggestion! |
The integration, as shown in the screenshot, is well done. The issue with decimals is somewhat variable. Ideally, it would be great to have an option to adjust the precision if necessary, but that might require too many modifications on your part. For example, in some cases, like with the color red, only one decimal place would be necessary: vec4(1.0, 0.0, 0.0, 1.0). Moreover, there would be no need to manage transparency. The alpha parameter can always be set to a value of 1.0. Transparency is typically handled directly within the code. Thank you again for considering this and for your prompt response! |
Thanks @cadupuy. I think the main thing I'll need to think about is this one:
Will do some noodling, and planning to get a beta up soon. |
Hello !
First of all, thank you for creating such a fantastic tool! I have a suggestion that I believe could make Pika even more awesome :
It would be great to have an option to output colors in the OpenGL format
(r, g, b, a)
, where each component ranges from0.0 to 1.0
. This feature would be incredibly useful for those of us working in graphics programming and game development.Benefits:
Thank you for considering this addition. Keep up the excellent work!
The text was updated successfully, but these errors were encountered: