awesome-wgpu

Game engine components

A curated list of WGPU code and resources for developers building games or other graphics-intensive applications.

A curated list of wgpu code and resources.

GitHub

421 stars
18 watching
8 forks
last commit: about 2 years ago
Linked from 2 awesome lists

awesomegamegame-developmentrustrustgame

Awesome wgpu / About wgpu

https://github.com/gfx-rs/wgpu-rs 1,685 over 3 years ago
https://matrix.to/#/#wgpu:matrix.org matrix chat
https://github.com/gfx-rs/wgpu 12,673 6 days ago wgpu suports DX11, DX12 and Vulkan on Windows, Vulkan on Linux and Metal on macOS & iOS
The rise of wgpu - Gfx-rs nuts and bolts

Awesome wgpu / About wgpu / The rise of wgpu - Gfx-rs nuts and bolts

https://www.reddit.com/r/rust/comments/ay3olj/the_rise_of_wgpurs/
https://news.ycombinator.com/item?id=19327043

Awesome wgpu / About wgpu

https://webgpu.io current status of WebGPU in web browsers

Awesome wgpu / About wgpu / https://webgpu.io

https://www.reddit.com/r/rust_gamedev/comments/e9nh8w/current_status_of_webgpu_wasm_and_web_games_in/

Awesome wgpu / About wgpu

https://wiki.alopex.li/AGuideToRustGraphicsLibraries2019
https://www.reddit.com/r/rust/comments/eh7wkx/the_state_of_ggez_2020/fcipapq/ wgpu and WebGL
https://www.reddit.com/r/rust/comments/eh7wkx/the_state_of_ggez_2020/fcj2hyq/ wgpu and OpenGL
https://www.reddit.com/r/rust/comments/dou249/will_wgpu_support_shader_types_that_are_not/f5r1a6k/ Geometry shaders are effectively a dead end
https://www.reddit.com/r/rust_gamedev/comments/b01zy9/please_help_me_understand_the_gfxrs_architecture/

Awesome wgpu / Learn

https://rust-tutorials.github.io/learn-wgpu

Awesome wgpu / Learn / https://rust-tutorials.github.io/learn-wgpu

https://github.com/rust-tutorials/learn-wgpu

Awesome wgpu / Learn

https://sotrh.github.io/learn-wgpu/

Awesome wgpu / Learn / https://sotrh.github.io/learn-wgpu/

https://github.com/sotrh/learn-wgpu 1,517 about 1 month ago
https://vulkano.rs/guide/introduction this guide explains more i.e. swapchain

Awesome wgpu / Learn / https://sotrh.github.io/learn-wgpu/ / https://vulkano.rs/guide/introduction

https://github.com/vulkano-rs/vulkano-www 35 over 1 year ago

Awesome wgpu / Learn / https://sotrh.github.io/learn-wgpu/

https://crates.io/crates/winit
https://crates.io/crates/wgpu

Awesome wgpu / Learn

https://github.com/fredlangva/WGPU-Tut 0 over 5 years ago old
https://www.reddit.com/r/rust_gamedev/comments/bcjdl0/learning_wgpurs_coming_from_openwebgl/
3D Game in Rust #2 - Try to run a wgpu-rs tutorial - YouTube
Get started with GPU Compute on the Web
Building WebGPU with Rust - Dzmitry Malyshau - FOSDEM'20

Awesome wgpu / Gamedev

https://github.com/parasyte/pixels 1,813 8 days ago A tiny hardware-accelerated pixel frame buffer

Awesome wgpu / Gamedev / https://github.com/parasyte/pixels

https://github.com/rukai/winit_input_helper/issues/3#issuecomment-545316276 73 7 months ago Answer why RedrawRequested event is not implemented
https://github.com/JamesPatrickGill/mos-6502-rusted 2 almost 5 years ago

Awesome wgpu / Gamedev

https://github.com/Ruddle/oxidator 301 about 1 year ago RTS game/engine
https://github.com/maroider/overlay 9 almost 4 years ago
https://github.com/Noxime/vg-test
https://github.com/robmikh/goldsrc-asset-viewer 6 about 1 month ago
https://github.com/vulpesgames/mist-game-engine 2 about 5 years ago
https://github.com/chutchinson/chip-8 4 4 months ago
https://github.com/Napokue/chip-8 4 about 1 year ago
https://github.com/deadcore/playstation-emulator 3 7 months ago
https://github.com/catt-io/romy
https://github.com/lavignes/dth
https://github.com/tonis2/felin 2D rendering library
https://github.com/cloudhead/rgx 4 over 1 year ago 2D graphics library used by
https://github.com/StarlitGhost/GBOxide 11 over 1 year ago
https://github.com/rukai/brawllib_rs 20 3 months ago A brawl file parser for Super Smash Bros. Brawl
https://github.com/hecrj/coffee 1,088 9 months ago An opinionated 2D game engine

Awesome wgpu / Rust gamedev

https://github.com/rust-unofficial/awesome-rust/blob/master/README.md#game-development 47,045 2 days ago
https://www.reddit.com/r/rust_gamedev
https://www.reddit.com/r/rust/comments/cr5rht/whats_the_state_of_game_development_in_rust/ex3g6e9/ Lack of allocator support in std is a big issue for gamedev
https://github.com/Arvamer/gilrs 150 2 months ago Game Input Library for Rust

Awesome wgpu / Rust gamedev / https://github.com/Arvamer/gilrs

https://github.com/parasyte/pixels 1,813 8 days ago Used by

Awesome wgpu / Rust gamedev

How to make roguelike games in Rust

Awesome wgpu / Rust gamedev / How to make roguelike games in Rust

https://news.ycombinator.com/item?id=22020229

Awesome wgpu / Rust gamedev

https://crates.io/crates/ultraviolet Ultraviolet (linear algebra library specifically for games & graphics which is faster than the alternatives for both runtime and compile times)

Awesome wgpu / Rust gamedev / https://crates.io/crates/ultraviolet

https://news.ycombinator.com/item?id=22024916 via

Awesome wgpu / Rust gamedev

https://djugei.github.io/optimath-0-3-0/ experimental const generics based linear algebra library that works without any allocations in no_std and utilizes simd. So now you can do fancy maths on embedded

Awesome wgpu / Rust gamedev / https://djugei.github.io/optimath-0-3-0/

https://www.reddit.com/r/rust/comments/eo4ury/show_rrust_optimath_linear_algebra_with_const/

Awesome wgpu / Rust gamedev

https://crates.io/crates/legion High performance Rust ECS library

Awesome wgpu / Rust gamedev / https://crates.io/crates/legion

https://news.ycombinator.com/item?id=22024916 via
https://github.com/amethyst/rfcs/issues/22 32 over 4 years ago The flexibility in Legion is filled with tradeoffs, generally showing benefits in performance and runtime flexibility, while generally trading off some of the ergonomics of the SPECS interface

Awesome wgpu / Rust gamedev

https://iolivia.me/posts/entity-component-system-explained/
https://github.com/rukai/winit_input_helper 73 7 months ago

Awesome wgpu / Rust gamedev / https://github.com/rukai/winit_input_helper

https://crates.io/crates/winit_input_helper/reverse_dependencies used by pixels and others

Awesome wgpu / Rust gamedev

https://github.com/SergiusIW/collider-rs 92 over 1 year ago experimental Rust library for continuous 2D collision detection in games

Awesome wgpu / Rust gamedev / https://github.com/SergiusIW/collider-rs

https://github.com/SergiusIW/chirperjax 296 almost 5 years ago

Awesome wgpu / Rust gamedev

https://github.com/SergiusIW/gate 319 over 1 year ago development library tailored to 2D pixel-art games. Supports SDL2 or WebAssembly

Awesome wgpu / Rust gamedev / https://github.com/SergiusIW/gate

https://github.com/SergiusIW/chirperjax 296 almost 5 years ago

Awesome wgpu / General gamedev

https://gafferongames.com/post/fix_your_timestep/

Awesome wgpu / General gamedev / https://gafferongames.com/post/fix_your_timestep/

https://github.com/17cupsofcoffee/tetra 927 10 days ago via

Awesome wgpu / General gamedev

https://gafferongames.com/post/integration_basics/
https://www.reddit.com/r/gamedev/comments/df7dth/i_compiled_a_massive_list_of_yt_channels_about/
https://gamedev.stackexchange.com/questions?tab=Votes

Awesome wgpu / Physics/Collision

http://arewegameyet.com/categories/physics/
https://github.com/kvark/vange-rs/blob/master/bin/road/physics/mod.rs 440 11 days ago
https://github.com/kvark/vange-rs/blob/master/src/render/collision.rs 440 11 days ago
https://github.com/rukai/canon_collision/blob/master/canon_collision/src/collision.rs 26 over 2 years ago

Awesome wgpu / Games

https://github.com/rukai/canon_collision 26 over 2 years ago
https://github.com/kvark/vange-rs 440 11 days ago

Awesome wgpu / Games / https://github.com/kvark/vange-rs

https://kvark.github.io/vange-rs/
https://www.reddit.com/r/rust_gamedev/comments/bcjdl0/learning_wgpurs_coming_from_openwebgl/ektqwx3/ In a nutshell, it's Metal with Vulkan's binding model

Awesome wgpu / Games

https://github.com/Technici4n/voxel-rs 153 almost 4 years ago
https://github.com/parasyte/pixels/tree/master/examples/invaders 1,813 8 days ago 2D, space invaders clone
https://github.com/parasyte/pixels/tree/master/examples/conway 1,813 8 days ago 2D, game of life
https://github.com/terrence2/openfa 16 10 months ago
https://github.com/derekdreery/rogue 5 about 5 years ago
https://github.com/Limvot/vulkemon 4 about 5 years ago
https://github.com/glalonde/spout/tree/master/rust 4 8 months ago
https://github.com/Limvot/vulkemon 4 about 5 years ago

Awesome wgpu / Applications

https://github.com/cloudhead/rx 3,138 10 months ago pixel editor
https://github.com/Yatekii/sailor 44 6 days ago
https://git.koesters.xyz/timo/nbodysim Realtime 3D N-Body-Simulation:
https://github.com/manuranga/igni 3 over 1 year ago
https://github.com/stevebob/rip 2 22 days ago
https://github.com/chiptunecafe/rawrscope 16 over 3 years ago
https://github.com/cbrewster/brewcode 19 almost 5 years ago
https://github.com/Elyhaka/Swaynimated
https://github.com/CryZe/livesplit-one-desktop 60 5 months ago
https://github.com/mandeep/viewimg 15 7 months ago HDR image viewer
https://github.com/KongouDesu/BackupGUI 15 about 4 years ago

Awesome wgpu / Examples

https://github.com/gfx-rs/wgpu-rs/tree/master/examples 1,685 over 3 years ago
https://github.com/LordBenjamin/sharp-and-rusty 5 about 5 years ago
https://github.com/rohit507/rust-gfx-experiments 0 almost 5 years ago
https://github.com/stevebob/hello-wgpu 0 almost 5 years ago
https://github.com/vitvakatu/cubes 6 over 5 years ago
https://github.com/laopo001/wgpu-learn
https://github.com/xayon40-12/wgpu_ray 0 about 5 years ago
https://github.com/maroider/wgpu_playground
https://github.com/terrence2/stampede 0 almost 5 years ago
https://github.com/Lonsdaleiter/RustTest
https://github.com/grenlight/idroid_demo iOS and Metal

Awesome wgpu / Examples / Older

https://github.com/WaDelma/hiekkapeli 0 9 months ago
https://github.com/krauslabs/wgpu-vg-toy
https://github.com/fredlangva/wgpu_one 0 over 5 years ago

Awesome wgpu / Examples / Older / https://github.com/fredlangva/wgpu_one

https://www.reddit.com/r/rust/comments/c9wsot/i_need_some_help_with_wgpu/

Awesome wgpu / Examples / Older

https://github.com/WaDelma/hiekkapeli 0 9 months ago
https://github.com/menuan/lack

Awesome wgpu / UI

https://github.com/hecrj/iced 24,785 8 days ago
https://github.com/dhardy/kas 900 3 months ago

Awesome wgpu / UI / https://github.com/dhardy/kas

https://www.reddit.com/r/rust/comments/ebvp4i/kas_gui/

Awesome wgpu / UI

https://github.com/redox-os/orbtk 3,781 about 2 years ago
https://github.com/snuk182/nuklear-backend-wgpurs 10 about 4 years ago bindings for Nuklear (using old )

Awesome wgpu / Rendering

https://github.com/rust-tutorials/learn-rendy 37 over 5 years ago some parts of rendy used by wgpu-rs
https://github.com/nical/lyon 2,348 21 days ago svg
https://github.com/mikialex/rendiation 58 3 days ago
https://github.com/hecrj/wgpu_glyph 451 9 months ago text
https://github.com/grenlight/sdf-text-view 62 over 3 years ago render bitmap fonts without jagged edges even at high magnifications
https://github.com/stevebob/prototty 67 9 months ago terminal
https://github.com/mad-s/hijiki 16 about 3 years ago physically-based renderer

Awesome wgpu / Misc

https://github.com/flmng0/peach 21 almost 3 years ago Processing-esque
https://github.com/stevebob/wfc 146 6 months ago Wave Function Collapse
https://github.com/danielbusaba/Rust-GPU 5 over 4 years ago process images on the GPU
https://github.com/grenlight/fluid-webgpu 28 almost 5 years ago LBM fluid simulation
https://github.com/anlumo/cef 2 over 4 years ago Safe Wrapper Around the Chromium Embedded Framework

Awesome wgpu / Shading Language

https://www.reddit.com/r/shaders/
https://github.com/topics/shading-language
https://github.com/KhronosGroup/Vulkan-Ecosystem 132 over 3 years ago
https://www.reddit.com/r/gamedev/comments/cis14v/good_starting_points_for_learning_to_write_shaders/ books, editors, viewers recommendations

Awesome wgpu / Shading Language / GLSL

https://github.com/radixzz/awesome-glsl 1,207 about 1 year ago
https://thebookofshaders.com/
https://vulkan-tutorial.com/Drawing_a_triangle/Graphics_pipeline_basics/Shader_modules
https://www.lunarg.com/faqs/how-vulkan-shaders-written/
https://www.khronos.org/opengl/wiki/Core_Language_(GLSL)

Awesome wgpu / Shading Language / GLSL / https://www.khronos.org/opengl/wiki/Core_Language_(GLSL)

https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.50.pdf

Awesome wgpu / Shading Language / GLSL

https://www.khronos.org/opengl/wiki/OpenGL_Shading_Language
https://www.reddit.com/r/rust_gamedev/comments/bcjdl0/learning_wgpurs_coming_from_openwebgl/eku9bsr/
https://vulkano.rs/guide/mandelbrot mandelbrot
https://stackoverflow.com/questions/16631981/what-is-the-difference-between-opengl-and-glsl
https://gamedev.stackexchange.com/questions/4234/what-are-the-pros-and-cons-of-hlsl-vs-glsl-vs-cg
https://community.khronos.org/t/glsl-and-hlsl-differences/53888/4
https://stackoverflow.com/questions/2508818/how-to-debug-a-glsl-shader
https://stackoverflow.com/questions/tagged/glsl?tab=Votes
https://riptutorial.com/glsl
http://nehe.gamedev.net/article/glsl_an_introduction/25007/index.html
https://docs.unity3d.com/2020.1/Documentation/Manual/SL-GLSLShaderPrograms.html
https://github.com/libretro/glsl-shaders 934 30 days ago

Awesome wgpu / Shading Language / HLSL

https://github.com/KhronosGroup/glslang/wiki/HLSL-FAQ 3,066 7 days ago

Awesome wgpu / Shading Language / HLSL / https://github.com/KhronosGroup/glslang/wiki/HLSL-FAQ

Complete HLSL -> SPIR-V translator · Issue #362 · KhronosGroup/glslang 3,066 7 days ago

Awesome wgpu / Shading Language / HLSL

https://www.khronos.org/assets/uploads/developers/library/2019-siggraph/Vulkan-06-DXC-Update_SIGGRAPH_Jul19.pdf Make HLSL a first-class citizen for Vulkan
https://github.com/microsoft/DirectXShaderCompiler#spir-v-codegen 3,108 5 days ago
https://github.com/google/shaderc-rs 259 5 months ago
https://www.reddit.com/r/gamedev/comments/cpdtn6/looking_for_ressources_to_learn_hlsl/

Awesome wgpu / Shading Language / GLSL vs HLSL

https://docs.unity3d.com/2020.1/Documentation/Manual/SL-GLSLShaderPrograms.html use of raw GLSL is only recommended for testing, or when you know you are only targeting Mac OS X, OpenGL ES mobile devices, or Linux. In all normal cases, Unity will cross-compile Cg/HLSL into optimized GLSL when needed
https://www.reddit.com/r/rust_gamedev/comments/cgaeuu/graphics_programming_hlsl_vs_glsl/eukphqa/ alien binding model: GLSL can easily specify descriptor sets and bindings, while HLSL was to resort to a parser-specific attribute magic to specify them

Awesome wgpu / Shading Language / WSL (formerly WHLSL)

WHLSL: Web High Level Shading Language | Hacker News
https://github.com/gpuweb/WSL 253 over 4 years ago

Awesome wgpu / OpenGL

https://www.reddit.com/r/rust/comments/eh7wkx/the_state_of_ggez_2020/fcj2hyq/ OpenGL is never going to magically become an API that works everywhere portably

Backlinks from these awesome lists:

More related projects: