Closed zicklag closed 2 years ago
WGPU on master has support for OpenGL and we are currently helping with WebGL support. If we get this working with Bevy's renderer that means that we can target Vulkan, Metal, DX12, OpenGL, and WebGL, all without 3rd party plugins for Bevy!
Still work to do and lots to test out, but we're making near daily progress on web support and fixing some bugs we ran into while testing OpenGL ( with lots of great help from the WGPU folks! ):
Finished in dev. New release should be out soon!
After some investigation, we think we are going to try switching to Bevy's renderer, instead of using our own. Here's the pros and cons:
Pros:
Cons:
Won't run on old desktops without Vulkan support without a little extra work: This is not a big deal, though because it would probably take not more than 4 days of work to get that functionality back by portingThe work-in-progress WGPU on master has support for OpenGL ( and WebGL2 incomming ) and we have been actively helping with the effort to fix some outstanding bugs.bevy_webgl2
to run on desktop ( https://github.com/mrk-its/bevy_webgl2/issues/45 )Bevy's renderer is currently in the middle of an overhaul ( https://github.com/bevyengine/bevy/discussions/2351 ) so now is not the best time to do the actual port. Once Bevy work is finished, though, I think this is a good thing to do.
Tasks