Introduction To Shaders // OpenGL Tutorial #4

Описание к видео Introduction To Shaders // OpenGL Tutorial #4

AEJuice Free Plugins https://aejuice.com/free-plugins/?ref...
AEJuice I Want It All Bundle https://aejuice.com/product/i-want-it...
AEJuice YouTube Channel    / @aejuice  

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 https://ogldev.org to see my tutorials on modern OpenGL.

Link to source: https://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: https://www.khronos.org/registry/Open...

🔥 I'm using the following books as background information for my tutorials and I highly recommend them for learning more about OpenGL and Vulkan.
These are affiliate links so if you use them to buy the books the price is the same for you and I will get a small commision (thank-you!).

📖 OpenGL 4 Shading Language Cookbook - Third Edition: Build high-quality, real-time 3D graphics with OpenGL 4.6, GLSL 4.6 and C++17 3rd ed. Edition: https://amzn.to/3XO2J3S

📖 3D Graphics Rendering Cookbook: A comprehensive guide to exploring rendering algorithms in modern OpenGL and Vulkan: https://amzn.to/3MMJQbf
(Watch my short video review on this book:    • The 2nd book I'm using for my Vulkan ...  )

📖 Vulkan Programming Guide: The Official Guide to Learning Vulkan: https://amzn.to/3XwBjhr
(Watch my short video review on this book:    • The book I'm using for my Vulkan seri...  )

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: [email protected]
Facebook:   / ogldev-188319114585587  
GIthub: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon:   / ogldev  

Credits:
Factory pic: https://www.cleanpng.com/
Sound: "Dreams" from https://www.bensound.com/

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials

Комментарии

Информация по комментариям в разработке