Inserting ClearColor to change background color not working #17610
Replies: 1 comment
-
omg i'm so stupid, the color itself was white because I mistakenly thought the srgb function took in values from 0 to 255, when it really takes in a value from 0 to 1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a code snippet intending to change the background color to a light blue. It doesn't work, though it does change the default gray to a white.
Was following this tutorial:
https://bevy-cheatbook.github.io/window/clear-color.html
Beta Was this translation helpful? Give feedback.
All reactions