Published On Feb 12, 2023
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.
Refresh your memory on texture mapping in OpenGL: • Basic Texture Mapping // OpenGL Begin...
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