Introduction To Shaders // OpenGL Tutorial #4

  Рет қаралды 9,726

OGLDEV

OGLDEV

Күн бұрын

In this video we will study the differences between the fixed function pipeline and the programmable pipeline. We will get introduced to shaders and how to use them in our applications and games.
Please visit ogldev.org to see my tutorials on modern OpenGL.
Link to source: github.com/emeiri/ogldev/blob...
If you want to get the same version that was used in the video checkout the tag TUT_04_SHADERS.
OpenGL 4.6 specification: www.khronos.org/registry/Open...
Time codes:
0:00 Intro
0:47 Two types of pipelines
1:03 Factory example
1:24 Fixed function pipeline
3:54 Programmable pipeline
5:03 GLSL
8:22 Shader creation stages
10:50 Start of code review
11:00 Create a program handle
11:15 Load the shader source from files
13:35 Create a shader handle
13:39 Load the shader source into the shader handle
14:38 Compile the shader
15:36 Attach the shader to the program
16:02 Link the program
16:24 Program validation
17:02 Enable the program
17:30 Review of vertex shader code
22:40 Review of fragment shader code
23:45 Build and run!
24:03 Conclusion
Feel free to comment below.
Email: ogldev1@gmail.com
Facebook: / ogldev-188319114585587
GIthub: github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): ogldev.org/donate.html
Patreon: / ogldev
Credits:
Factory pic: www.cleanpng.com/
Sound: "Dreams" from www.bensound.com/
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials

Пікірлер: 57
Using Uniform Variables  // OpenGL Tutorial #5
8:51
OGLDEV
Рет қаралды 6 М.
How Shaders Work in OpenGL
17:37
The Cherno
Рет қаралды 222 М.
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 71 МЛН
100😭🎉 #thankyou
00:28
はじめしゃちょー(hajime)
Рет қаралды 25 МЛН
g-squad assembles (skibidi toilet 74)
00:46
DaFuq!?Boom!
Рет қаралды 11 МЛН
C in 100 Seconds
2:25
Fireship
Рет қаралды 2,9 МЛН
Render a Wireframe On a Solid Mesh // OpenGL Tutorial #49
10:11
Translation Transformation  // OpenGL Tutorial #6
15:22
OGLDEV
Рет қаралды 12 М.
LIGHTS! // Hazel Engine Dev Log
12:36
The Cherno
Рет қаралды 31 М.
Writing a Shader in OpenGL
28:21
The Cherno
Рет қаралды 307 М.
Mythbusters Demo GPU versus CPU
1:34
NVIDIA
Рет қаралды 6 МЛН
Introduction To Tessellation // OpenGL Tutorial #47
16:57
OGLDEV
Рет қаралды 4,7 М.
Vertex Array Objects // OpenGL Tutorial #17
12:11
OGLDEV
Рет қаралды 13 М.
как спасти усилитель?
0:35
KS Customs
Рет қаралды 493 М.
Huawei который почти как iPhone
0:53
Romancev768
Рет қаралды 479 М.
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 2,4 МЛН
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,4 МЛН