OpenGL Low-Poly Water Tutorial
In this tutorial I take you step-by-step through my implementation of low-poly water using OpenGL!
The demonstration code used in this video is written in Java and uses LWJGL 2. However, the concepts explained here can of course be applied to any OpenGL application.
OpenGL Water Tutorial Series:
https://www.youtube.com/watch?v=HusvGeEDU_U&list=PLRIWtICgwaX23jiqVByUs0bqhnalNTNZh
Download the runnable demo:
https://www.dropbox.com/sh/zprd9mwujssgajm/AAAOwNo3U6-jmS4vTsH6vWS_a?dl=0
All code demos require the lwjgl.jar and lwjgl_utils.jar and the relevant natives (from LWJGL 2).
The finished fully-commented code:
https://github.com/TheThinMatrix/LowPolyWater
Code for Step 0 (Starting Code):
https://github.com/TheThinMatrix/WaterStep0
Code for Step 1 (Water Mesh):
https://github.com/TheThinMatrix/WaterStep1
Code for Step 2 (FBOs):
https://github.com/TheThinMatrix/WaterStep2
Code for Step 3 (Clipping Planes):
https://github.com/TheThinMatrix/WaterStep3
Code for Step 4 (Projective Texturing):
https://github.com/TheThinMatrix/WaterStep4
Code for Step 5 (Fresnel Effect):
https://github.com/TheThinMatrix/WaterStep5
Code for Step 6 (Depth Effects):
https://github.com/TheThinMatrix/WaterStep6
Code for Step 7 (Distorted Water):
https://github.com/TheThinMatrix/WaterStep7
Code for Step 8 (Distorting Textures):
https://github.com/TheThinMatrix/WaterStep8
Code for Step 9 (Calculating Normals):
https://github.com/TheThinMatrix/WaterStep9
Code for Step 10 (Lighting):
https://github.com/TheThinMatrix/WaterStep10
Code for Step 11 (Finished Code):
https://github.com/TheThinMatrix/LowPolyWater
Low Poly Terrain Tutorial:
https://youtu.be/l6PEfzQVpvM
Geometry Shader Tutorial:
https://www.youtube.com/watch?v=r2hue52wLF4
OpenGL article about byte size of attributes:
https://www.khronos.org/opengl/wiki/Vertex_Specification_Best_Practices
Support me on Patreon:
https://www.patreon.com/thinmatrix
Facebook Page: https://www.facebook.com/thinmatrix
Twitter: https://twitter.com/ThinMatrix
Tumblr: http://thinmatrix.tumblr.com/
Instagram: http://instagram.com/thin_matrix
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
Thumbnail Font by Smoking Drum: http://www.smokingdrum.com
Other Videos By ThinMatrix
Other Statistics
Equilinox Statistics For ThinMatrix
Currently, ThinMatrix has 12,574,696 views for Equilinox across 182 videos. This game accounts for over 1 day of watchable video on his channel, or 54.22% of the total watchable video for Equilinox on ThinMatrix's YouTube channel.