-
Notifications
You must be signed in to change notification settings - Fork 242
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
Rendering egui to a plane/Camera2d #163
Comments
Right now it looks like egui always assumes it is rendering to a window, as it assumes it is tied to an bevy_egui/examples/two_windows.rs Line 26 in 537ec1b
Instead, it would probably need to be flipped, so that each egui context must be associated with a |
Rendering UI to worldspace should now be possible (we still lack a proper input handling though, I'll probably fix this once Bevy 0.15 lands). |
I've been reading the source code and docs for a while, and I'm frankly lost. I don't want to change the gui component rendering, shaders, or asset management, I know I'll need to override the input, but from what I've read, that should be manageable. I just.. don't see how to create a context with the available render system, and restrict it to a specific Camera. Thanks for any assistance.
Side note: I did notice another topic wanting to render on top of egui. Restructuring the rendering in the manner described above might make that easier.
The text was updated successfully, but these errors were encountered: