Shadow Mapping Strikes Back // OpenGL Tutorial #36

Pubblicato il: 12 giugno 2022
sul canale di: OGLDEV
8,343
174

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    • 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...
OpenGL 4.6 specification: https://www.khronos.org/registry/Open...

Feel free to comment below.

Email: ogldev1@gmail.com
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


In questa pagina del sito puoi guardare il video online Shadow Mapping Strikes Back // OpenGL Tutorial #36 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato OGLDEV 12 giugno 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 8,343 volte e gli è piaciuto 174 spettatori. Buona visione!