This video is an introduction to the Geometry Shader in OpenGL. We use the Geometry Shader to develop a billboarding demo where a texture is always presented in front of the camera.
🔥 See the list of the books that I'm using as background information for my tutorials: https://ogldev.org/books.html. I highly recommend them for learning more about OpenGL and Vulkan. These are affiliate links so if you use them to buy any of the books the price is the same for you and I will get a small commission (thank-you!).
Timecodes:
0:00 Introduction
0:56 Geometry Shader overview
3:59 Demo 1
5:52 GS code review
8:47 Demo 2 - Billboarding
10:20 Demo 2 code review
11:59 Outro
Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at • OpenGL for Beginners
Please visit https://ogldev.org to see more of my tutorials on modern OpenGL.
Link to source: https://github.com/emeiri/ogldev/blob...
If you want to get the same version of the code that was used in the video checkout the tag 'TUT_45_BILLBOARDING'.
OpenGL 4.6 specification: https://www.khronos.org/registry/Open...
Feel free to comment below.
Email: [email protected]
Instagram: @ogldev1
Github: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon: / ogldev
Credits:
Sounds from zapsplat
Music | "Lose You" by LiQWYD
Watch: • LiQWYD - Lose You [Official]
License: www.liqwydmusic.com/how-to-use
Download/Stream: hypeddit.com/liqwyd/loseyou-free
Images by OpenClipart-Vectors from Pixabay
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials