Shadow Mapping Unleashed! // OpenGL Tutorial #38

Опубликовано: 28 Март 2026
на канале: OGLDEV
9,276
284

In this video we take a look at five techniques to reduce the effect of several known problems in shadow mapping such as shadow acne, peter panning and more.

🔥 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 Intro
0:24 Solution #1: Flexible bias
3:26 Solution #2: Reverse face culling
4:43 Solution #3: Slope scale depth bias
6:51 Solution #4: Clamp to border
8:18 Solution #5: Tight light projection frustum

More info on shadow mapping problems can be found in:
LearnOpenGL.com by Joey de Vries: https://learnopengl.com/Advanced-Ligh...
"Common Techniques to Improve Shadow Depth Maps" by Microsoft: https://docs.microsoft.com/en-us/wind...

Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at    • All OpenGL Tutorials  

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 that was used in the video then checkout the tag TUT_38_SHADOW_MAPPING_UNLEASHED.

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  

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials