In this video we learn a basic technique to add shadows to the 3D scene.
🔥 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
00:00 Intro
00:16 Spot light example
01:24 Characterizing the shadowed pixels
02:03 The shadow test
02:27 Shadow mapping
04:59 Perspective division
06:00 Shadow test example
06:21 The ShadowMapFBO class
08:00 The shadow pass
10:23 Testing the shadow pass
11:00 The lighting pass
16:25 Conclusion
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...
More info:
My shadow mapping tutorials: https://ogldev.org/www/tutorial23/tut...
https://ogldev.org/www/tutorial24/tut...
Shadow mapping tutorial by Joey de Vries: https://learnopengl.com/Advanced-Ligh...
Intro on ApiTrace: • Debugging Your OpenGL Code // OpenGL ...
OpenGL 4.6 specification: https://www.khronos.org/registry/Open...
Feel free to comment below.
Email: [email protected]
Github: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon: / ogldev
Credits:
Music: "Black Hole" by Creator Mix (https://creatormix.com/)
Models:
** "Ordinary House" by tastyfish (https://www.blendswap.com/blend/19501)
** https://www.mixamo.com/#/?page=1&quer...
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials