OpenGL Water Tutorial 5: DuDv Maps
Tutorial series about programming 3D water using OpenGL!
Using DuDv maps this week to make our water look like it's rippling!
Code Snippet:
textureCoords = vec2(position.x/2.0 + 0.5, position.y/2.0 + 0.5);
Download the DuDv map:
https://www.dropbox.com/s/h7zp0w24zmpp2op/waterDUDV.png?dl=0
Rough Schedule (subject to change):
1. Introduction
2. Rendering to textures
3. Clipping planes
4. Projective texturing
5. Du Dv Maps
6. Lighting
7. More Lighting
8. Fresnel Effect
9. Soft Edges
10. Depth Effects
Tumblr: http://thinmatrix.tumblr.com/
Facebook Page: https://www.facebook.com/thinmatrix
Instagram: http://instagram.com/thin_matrix
Twitter: https://twitter.com/ThinMatrix
Pinterest: https://uk.pinterest.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