Hello,
I'm trying to create a very simple 3D turn based strytegy game, but don't know how to do the water effects: sea(ocean) and rivers? Can you give me some suggestions, or myabe send some source code in C++(OpenGL or DirectX doesn't matter).
Thanks
Water effect for simple turn based strytegy game
Hello,
I'm trying to create a very simple 3D turn based strytegy game, but don't know how to do the water effects: sea(ocean) and rivers? Can you give me some suggestions, or myabe send some source code in C++(OpenGL or DirectX doesn't matter).
Thanks
You can take a look at GPU Gems Series book, also you can find an example in the Special FX Book by mason mcusky, its outdated but the concept is the same. Simply you build vertexes buffers, then you apply wave equations like sin(),..etc .
I started writing GLSL water tutorial, but at moment only the 1st part (basic reflection) is completed.
Link to turial part 1
Take a look if you are interested - I'll plan to complete part II (angle-based reflection and scattering) this week and part III (ripples) shortly after that.
Link to turial part 1
Take a look if you are interested - I'll plan to complete part II (angle-based reflection and scattering) this week and part III (ripples) shortly after that.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement