Рет қаралды 8,501
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: casual-effects.com/g3d/data10...
Article by Yury Uralsky on soft shadows with random sampling: developer.nvidia.com/gpugems/...
Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at • OpenGL for Beginners
Please visit ogldev.org to see more of my tutorials on modern OpenGL.
Link to source: 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: www.khronos.org/registry/Open...
Feel free to comment below.
Email: ogldev1@gmail.com
Instagram: @ogldev1
GIthub: github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): ogldev.org/donate.html
Patreon: / ogldev
Credits:
* Sound effects and music obtained from www.zapsplat.com
* Image by 13smok from Pixabay
* Image by Clker-Free-Vector-Images from Pixabay
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials