In this video we are going to learn two method to add textures to the terrain. We will also take a look at mipmapping to reduce flickering when applying textures at a distance from the camera.
🔥 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!).
Refresh your memory on texture mapping in OpenGL: • Basic Texture Mapping // OpenGL Tutorial #16
Timecodes:
0:00 Intro
0:35 Texture mapping recap
3:28 Terrain texture generator
7:57 Terrain dynamic multi texturing
11:04 Mipmapping
14:13 Conclusion
"Focus on 3D Terrain Programming" by Trenk Polack: https://www.amazon.com/Focus-Terrain-...
Make sure to watch all the previous tutorials in the "Terrain Rendering" playlist at • Terrain Rendering
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 version that was used in the video checkout the tag TERRAIN4.
OpenGL 4.6 specification: https://www.khronos.org/registry/Open...
Feel free to comment below.
Credits:
Music: "Elevate" by https://bensound.com
Sound effects by https://mixkit.co
Textures by https://opengameart.org
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
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials