video thumbnail 5:25
Coding Adventure: Compute Shaders

2019-03-14

[public] 540K views, 25.8K likes, 119 dislikes audio only

channel thumbSebastian Lague

In this coding adventure I learn about compute shaders by creating a very simple raytracer. I then try use what I've learned to speed up my erosion simulation from the previous episode.

If you're enjoying these videos and would like to support me in creating more, you can become a patron here:

https://www.patreon.com/SebastianLague

The project is available here:

(updated version) https://github.com/SebLague/Hydraulic-Erosion

(version at time of this video) https://github.com/SebLague/Hydraulic-Erosion/tree/Coding-Adventure-E02

Raytracing article:

http://blog.three-eyed-games.com/2018/05/03/gpu-ray-tracing-in-unity-part-1/

Compute shader resources I used:

https://www.reddit.com/r/Unity3D/comments/7ppldz/physics_simulation_on_gpu_with_compute_shader_in/

http://kylehalladay.com/blog/tutorial/2014/06/27/Compute-Shaders-Are-Nifty.html

https://docs.unity3d.com/Manual/class-ComputeShader.html

Music:

"Le Grand Chase"

Kevin MacLeod (incompetech.com)

Licensed under Creative Commons: By Attribution 3.0

http://creativecommons.org/licenses/by/3.0/


Gpu Ray Tracing in Unity
/youtube/video/9RHGLZLUuwc?t=50.828999
Add Shadows
/youtube/video/9RHGLZLUuwc?t=94.720001
Shading
/youtube/video/9RHGLZLUuwc?t=158.23
Compute Shaders
/youtube/video/9RHGLZLUuwc?t=246.98
Sebastian Lague Hello, on this channel I explore how to create stuff out of code. I hope you find some of it interesting!
/youtube/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Support these videos on Patreon patreon.com
https://www.patreon.com/SebastianLague
Behind the Scenes by Sebastian Lague
/youtube/video/H7-3dZTERf0
Coding Adventures by Sebastian Lague
/youtube/video/vTMEdHcKgM4