-
Notifications
You must be signed in to change notification settings - Fork 55
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
How to change application window background color? #173
Labels
faq
A frequent issue, remaining opened to facilitate discoverability
Comments
See
You should not use gl calls inside the gui functions. If you want to draw a custom background with OpenGL, see https://pthom.github.io/imgui_bundle/quickstart.html#_custom_3d_background |
Nevermind, I modified the custom 3d background example and it gave me the result I was after, thank you again :) |
pthom
changed the title
How to change background color?
How to change application window background color?
Jan 25, 2024
pthom
added
the
faq
A frequent issue, remaining opened to facilitate discoverability
label
Jan 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Despite setting the background color manually via
self.backgroundColor = (0, 0, 0, 0.0)
This imgui implementation seems to have its background color painted outside of the user's defined render loop.
In the sample code, I set the application background to fully transparent, yet the result has a grayish tranparent background.
How to adjust that background color that is hidden from the user? I could not find examples on how to do this.
The text was updated successfully, but these errors were encountered: