Repository navigation
How to actually run any bevy example using OpenGL? #11568
Unanswered
dmitrykolesnikovich
asked this question in
Q&A
Replies: 4 comments 1 reply
|
Hi! That's not how you do it. You can change the backend by setting the bevy/examples/app/no_renderer.rs Line 17 in 56c3079 |
0 replies
|
You can also set the |
0 replies
|
It seems like GL not supported |
1 reply
|
I think to use OpenGL: Enable the bevy_render = { version = "0.19.1", features = ["gles"] }Enable it in the code: DefaultPlugins.set(RenderPlugin {
render_creation: RenderCreation::Automatic(Box::new(WgpuSettings {
priority: WgpuSettingsPriority::WebGL2,
limits: WgpuLimits::downlevel_webgl2_defaults()
.using_resolution(WgpuLimits::default()),
backends: Some(Backends::GL),
..default()
})),
..default()
})Maybe also |
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.
I tried to change VULKAN to GL in window.rs file but without effect
All reactions