OpenGL Water Tutorial 1: Introduction
Tutorial series about programming 3D water using OpenGL!
Introduction video to the series!
Simple water code: https://www.dropbox.com/sh/12d3xzwvnnrtmeu/AACvVqVYhreekjGKLE1TH7dka?dl=0
Some relevant classes from our engine (for people who didn't do my other tutorials): https://www.dropbox.com/sh/sqqfm1s0vxcqf8u/AABbLq5j6-LUco1atIS5D84Ya?dl=0
Common Problems:
-If the edges of the water quad look a bit jagged (especially when you zoom out with the camera) then you may have a problem with the precision of the depth buffer. This can be fixed by increasing the NEAR_PLANE value of your projection matrix in the MasterRenderer, or by changing "new PixelFormat()" to "new PixelFormat().withDepthBits(24)" when creating the display.
Tumblr: http://thinmatrix.tumblr.com/
Facebook Page: https://www.facebook.com/thinmatrix
Instagram: http://instagram.com/thin_matrix
Twitter: https://twitter.com/ThinMatrix
Check out my game on IndieDB: http://www.indiedb.com/games/socuwan
Contact me: thinmatrix@gmail.com
End of video music- Kai Engel, "Waking Stars":
http://freemusicarchive.org/music/Kai_Engel/Evening_Colors/01_-_Waking_Stars