Рет қаралды 52,773
In this tutorial I'll show you how to use Compute Shaders in your OpenGL projects.
Source Code
github.com/VictorGordan/openg...
OpenGL Documentation
www.khronos.org/registry/Open...
Discord Server
/ discord
Patreon
/ victorgordan
Timestamps
00:00 Intro
00:10 What are they used for
00:45 How they work
01:22 Compute Shader Example
01:32 Creating Compute Shaders
01:42 Dispatching Compute Shaders
02:28 "Rendering" Compute Shaders
02:45 Compute Shaders Source Code
03:27 Inputs
05:03 Ray Tracer Code
05:35 Warps/Wavefronts
05:59 Improving Performance
06:53 Shared Variables
08:40 Atomic Operations
09:43 Group Voting
11:01 Outro
References
antongerdelan.net/opengl/comp...
www.khronos.org/opengl/wiki/C...
• Coding Adventure: Comp... (comment)
stackoverflow.com/questions/6...
stackoverflow.com/questions/3...
developer.download.nvidia.com...
#opengl #opengltutorial #computergraphics #cpp #visualstudio #3dgraphics #computeshaders #modernopengl