Soft Shadows - PCF & Random Sampling // OpenGL Tutorial #41

Опубликовано: 28 Октябрь 2024
на канале: OGLDEV
10,238
297

In this video we will explore two techniques for creating soft shadows in OpenGL - Percentage Closer Filtering (PCF) and Soft Shadow Edges with Random Sampling.

Time codes:
0:00 Intro
0:29 Percentage Closer Filtering
4:32 Configurable sized filter
5:31 PCF deficiencies
6:08 Soft Shadow Edges with Random Filtering
15:32 Conclusion

Dragon model available from: https://casual-effects.com/g3d/data10...

Article by Yury Uralsky on soft shadows with random sampling: https://developer.nvidia.com/gpugems/...

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

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:
Sound effects and music obtained from https://www.zapsplat.com
Image by 13smok from Pixabay
Image by Clker-Free-Vector-Images from Pixabay

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials