Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 76ee0bf

Browse filesBrowse files
authored
N36: bevy_shadertoy_wgsl (rust-gamedev#1120)
1 parent 2a28e36 commit 76ee0bf
Copy full SHA for 76ee0bf

File tree

Expand file treeCollapse file tree

2 files changed

+23
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+23
-0
lines changed

‎content/news/036/index.md

Copy file name to clipboardExpand all lines: content/news/036/index.md
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,29 @@ post on the Discussion boards!
455455
[Blackjack]: https://github.com/setzer22/blackjack
456456
[blackjack-talk-yt]: https://onrendering.com/data/papers/catmark/HalfedgeCatmullClark.pdf
457457

458+
### [bevy_shadertoy_wgsl] and [GLSL2WGSL]
459+
460+
![Shaders courtesy of @leondenise.](shadertoy_wgsl_leon.gif)
461+
462+
[bevy_shadertoy_wgsl] is a [Shadertoy] clone for the Bevy game engine,
463+
where the GLSL shader language is replaced by WGSL. It already comes
464+
with a dozen examples and plenty more to go. Feel free to add your own
465+
shaders to the list!
466+
467+
Plus, [GLSL2WGSL] is a new translator tool that should help migrate the
468+
vast majority of GLSL code to WGSL.
469+
470+
The above GIF showcases the new additions to the examples for
471+
[bevy_shadertoy_wgsl]: two shaders originally written in [Shadertoy] by
472+
[@leondenise], and translated to WGSL with the help of [GLSL2WGSL].
473+
The first part is a reproduction of Joe Gardner from the movie Soul,
474+
and the second part is a lightweight fluid shader.
475+
476+
[bevy_shadertoy_wgsl]: https://github.com/eliotbo/bevy_shadertoy_wgsl
477+
[Shadertoy]: https://www.shadertoy.com
478+
[GLSL2WGSL]: https://eliotbo.github.io/glsl2wgsl/
479+
[@leondenise]: https://twitter.com/leondenise
480+
458481
## Library Updates
459482

460483
### [hecs]
1.54 MB
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.