filmov
tv
How Shaders Work (in OpenGL) | How to Code Minecraft Ep. 3

Показать описание
In this episode I do a deep dive into the code and concepts behind GLSL shaders. I go over everything from how to construct them, compile and link them, and execute them on the GPU to how to think about shaders conceptually. This is the next episode in the Coding Minecraft tutorial series. In the next episode I will be covering dynamic textures and texture UVs.
Bookmarks:
0:00 Intro
1:00 Subscribe!
1:13 Vertex Shader Transformations
3:31 Coding the Transformation Matrix
4:23 Coding the View Matrix
5:48 Coding the Projection Matrix
7:04 How GLSL Works
10:41 GLSL Custom Constructors
11:15 Vector Swizzling
12:43 Compiling Shaders
13:49 Error Checking Compilations
15:30 Linking Shaders
16:24 Error Checking Linking
17:19 GLSL Reflection
19:56 Uploading Uniforms
21:11 In/Out/Flat Keywords
24:00 Shaders Conceptually
Shaders at the end of the video:
Music from Music Vine
“The Soft Block” licensed via Music Vine: 5KEXLAZZUKPIVGS2
“Fickle” licensed via Music Vine: ZX7THVN1L1UQWYD0
---------------------------------------------------------------------
Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)
My Recommended Game Engine Books:
My Recommended Beginning Game Programming Books:
My Recommended Java Books:
Комментарии