In this video we take a look at implementing shadow mapping in OpenGL for point lights using a Cubemap Texture.
🔥 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!).
Shadow mapping background: • Basic Shadow Mapping // OpenGL Tutori...
Timecodes
00:00 Intro
00:58 Cubemap texture
01:37 Shadow mapping with Cubemaps
02:37 The ShadowCubeMapFBO class
04:45 The shadow pass
07:19 Projection matrix of the shadow pass
07:49 Shadow pass shaders
08:31 The lighting pass
09:28 Lighting pass shaders
10:21 Flipping the Y component
11:58 Demo and 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...
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: "Magic Street" by CreatorMix (https://creatormix.com/)
Flashlight image: Clker-Free-Vector-Images (https://pixabay.com)
Light bulb image: OpenClipart-Vectors (https://pixabay.com)
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials