Shadow Mapping Strikes Back // OpenGL Tutorial #36
Автор: OGLDEV
Загружено: 2022-06-12
Просмотров: 7124
Описание:
In this video we continue our journey with Shadow Mapping and we learn how to use Orthographic Projection in order to implement shadows with a directional light.
🔥 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!).
Watch the previous tutorial for background on Shadow Mapping: • Basic Shadow Mapping // OpenGL Tutorial #35
Timecodes
00:00 Intro
00:23 Recap and background
01:36 Directional light VS spot light
02:15 Orthographic Projection background
03:41 Orthographic Projection matrix
05:18 Mapping the view volume to NDC
07:01 Creating the matrix
07:50 Right handed VS left handed system
08:08 Matrix code review
08:31 Testing Orthographic Projection
08:55 Changes to the main application code
10:06 Changes the lighting fragment shader
10:23 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:
Model by TastyFish (https://blendswap.com/blend/20163)
Sun Image by OpenClipart-Vectors from Pixabay
CAD images:
• Computer-aided design | Wikipedia audio ar...
• Design Warehouse ,
• reading structural drawings 1
Music: "Dream Avenue" by CreatorMix (https://creatormix.com/)
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: