Skip to content

N25: Add vange-rs-0.2 and wgpu-0.10 #755

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

Merged
merged 1 commit into from
Sep 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions content/news/025/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,29 @@ projects: [bevy_webgl2], [bevy_prototype_lyon], [bevy_asset_ron],
[bevy_easings]: https://github.com/mockersf/bevy_extra/tree/master/bevy_easings
[@rparrett]: https://github.com/rparrett

### [vange-rs]

![Vange-rs on wgpu-0.10](./vangers-wgpu0.10.png)
_vange-rs on wgpu-0.10_

Vange-rs is a rewrite of the iconic Vangers game from 1998 in Rust,
heavily utilizing GPU for rendering.

The rendering engine has seen a major upgrade. Essential shaders were
rewritten into [WGSL], which streamlined the shader pipelines and culled out
the dependency tree.
Code was ported on the latest [wgpu]-0.10 release and helped identify a few issues.
Most importantly, this change made the game able to finally be distributed,
and maybe even compiled for the Web in the future.
Read more on the [WGSL-related blog post].

In order to make advantage of the new superpowers,
the [Rusty Vangers] game (the new working title) was published on Itch.io.

[vange-rs]: https://github.com/kvark/vange-rs
[WGSL-related blog post]: https://vange.rs/2021/08/25/pure-rust.html
[Rusty Vangers]: https://kvark.itch.io/vangers

## Engine Updates

## Learning Material Updates
Expand Down Expand Up @@ -134,6 +157,34 @@ If you are interested in developing with GGRS, check the following resources:
[GGPO]: https://www.ggpo.net/
[@g_schup]: https://twitter.com/g_schup

### [wgpu]-0.10

![Rend3 on wgpu-0.10](./rend3-wgpu0.10.jpg)
_unannounced engine on wgpu-0.10_

The team has released wgpu-0.10 with a fully rewritten graphics abstraction
("wgpu-hal" instead of "gfx-hal"), as well as [naga] version 0.6.
Read more in [Release of a Pure-Rust v0.10 and a Call For Testing].

There were a few issues spotted, but overall it went smooth for such a big change.
User libraries were quick to update: [iced#1000], [kas#241], [pixels#187], and others.

On the shader side, in addition to improved validation, hundreds of fixes to the
produced outputs, the atomic operations are now supported when using [WGSL] sources.

The release comes at a cost of DX11 backend, which isn't there comparing to wgpu-0.9.
On the plus side, the new GL backend performs much better. It runs most of the examples,
and has been successfully tested on Raspberry Pi-3.
Still more work ahead to make it solid, and to support WebGL2 properly.

[wgpu]: https://github.com/gfx-rs/wgpu
[naga]: https://github.com/gfx-rs/naga
[Release of a Pure-Rust v0.10 and a Call For Testing]: https://gfx-rs.github.io/2021/08/18/release-0.10.html
[iced#1000]: https://github.com/hecrj/iced/pull/1000
[kas#241]: https://github.com/kas-gui/kas/pull/241
[pixels#187]: https://github.com/parasyte/pixels/pull/187
[WGSL]: https://gpuweb.github.io/gpuweb/wgsl/

## Popular Workgroup Issues in Github

<!-- Up to 10 links to interesting issues -->
Expand Down
Binary file added content/news/025/rend3-wgpu0.10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/news/025/vangers-wpgu0.10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.