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.
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: learnopengl.com/Advanced-Ligh...
* "Common Techniques to Improve Shadow Depth Maps" by Microsoft: docs.microsoft.com/en-us/wind...
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 then checkout the tag TUT_38_SHADOW_MAPPING_UNLEASHED.
OpenGL 4.6 specification: www.khronos.org/registry/Open...
Feel free to comment below.
Email: ogldev1@gmail.com
Github: github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): ogldev.org/donate.html
Patreon: / ogldev
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials
Негізгі бет Shadow Mapping Unleashed! // OpenGL Tutorial #38
Пікірлер: 26