Compute Shaders in Bevy
Channel: Logic Projects
Date: 2022-12-25

In this video I cover the basics of compute shaders in bevy including how to modify the bevy render graph to add our shader steps.  Our end goal is to create a beautiful gpu accelerated particle system but we still have a ways to go on that goal.

Git: https://github.com/mwbryant/logic_compute_shaders
Discord Invite: https://discord.gg/w674Ze7ud7
Patreon: https://patreon.com/logicprojects

Resources: 
Particle System Blog: https://gpfault.net/posts/webgl2-particles.txt.html
Bevy Hanabi: https://github.com/djeedai/bevy_hanabi
Render Graph Git Question: https://github.com/bevyengine/bevy/discussions/2524
Bevy: https://bevyengine.org/
Bevy Cheatbook: https://bevy-cheatbook.github.io/
Bevy Examples: https://github.com/bevyengine/bevy/tree/main/examples


Chapters:
0:00 Intro
0:52 What/Why Compute Shaders
2:01 High Level Overview
2:55 Main/Render Graph
5:27 Implementing Node
10:03 Dispatching the Shaders
11:33 FromWorld Resources
13:37 queue_bind_groups
15:08 Reading back to CPU
16:30 Duplicating for Rendering
17:25 Writing the Shaders
19:44 Final Result
20:26 Recap/Outro