Published On Jul 3, 2023
In this video we learn how to render a skybox around our terrain using the cubemap texture in OpenGL.
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