OpenGL 3D Game Tutorial 16: Fog
LWJGL tutorial series on how to create a 3D Java game with OpenGL!
This week we implement 3D fog in OpenGL!
Improved OBJ Parser:
https://www.dropbox.com/sh/x1fyet1otejxk3z/AAAoCqArl4cIx0THdRk2poW3a?dl=0
Models & Textures: https://www.dropbox.com/sh/4tmbdkkjbai4c5s/AAD0Xr-dJTvASu5B_Cg8B5p4a?dl=0
Common Mistakes:
- Make sure that you load the sky colour to the TERRAIN shader, and not the entity shader, before rendering the terrain (see 8:35 in the video).
Support the series on Patreon: https://www.patreon.com/thinmatrix
Facebook Page: https://www.facebook.com/thinmatrix
Tumblr: http://thinmatrix.tumblr.com/
Instagram: http://instagram.com/thin_matrix
Twitter: https://twitter.com/ThinMatrix
Check out my game on IndieDB: http://www.indiedb.com/games/equilinox
End of video music- Kai Engel, "Waking Stars":
http://freemusicarchive.org/music/Kai_Engel/Evening_Colors/01_-_Waking_Stars