Skybox // Terrain Rendering episode #11

Опубликовано: 01 Март 2025
на канале: OGLDEV
4,069
114

In this video we learn how to render a skybox around our terrain using the cubemap texture in OpenGL.

🔥 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!).

Timecodes:
0:00 Intro
1:14 Texture mapping recap
2:09 Cubemap texture
4:13 The CubemapTexture class
6:30 The SkyBox class
6:48 Skybox rendering considerations
9:04 Back face culling
9:28 Rendering order
11:55 Vertex shader review
12:53 Seamless cubemap
13:10 Outro

Skybox image used in this tutorial: https://opengameart.org/content/inter...

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 of the code that was used in the video checkout the tag 'TERRAIN11'.

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:
UV wrapping image:    • UV Unwrapping - Blender 2.80 Fundamen...  
Music from https://www.zapsplat.com
----
Music by Hotham
Stream: linktr.ee/hothammusic
Free Download: hypeddit.com/hotham/coconutgrove
----

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials