A Guide to Using Compute Shaders in Godot
Godot 4 added the compute shader functionality to the engine. Although compute shaders are quite powerful, I personally haven't found many good beginner resources on them, so I decided to make this video! It's a short guide to getting started with compute shaders in Godot, with a special focus on explaining the fundamentals, such as how to use RenderingDevice, and what work groups actually are.
Chapters:
0:00 Intro
1:14 Godot's RenderingDevice API
2:50 Running Compute Shaders
8:39 Writing a Shader in GLSL
13:22 Getting the Shader's Output
16:23 Outro
I'm experimenting with a new format of video, so I'd really appreciate any advice for how you think I could improve this style going forward. If you have any questions or suggestions, please let me know! And, thanks for watching.