Direct X Water Tutorial?

Started by
4 comments, last by ryan mccabe 12 years, 10 months ago
For some reason it seems impossible to find a non-dx9 water tutorial. I can find tons of intro stuff but nothing on water and how thats done?

I've found a few DX9 stuff but since it's kinda outdated I wanted to see how it would be done in DX10. Any ideas?
Advertisement
You can do it the same way in DX10, though there might be techniques to simplify or improve things with newer hardware. Once you grasp the DX9 implementations and can implement the same in DX10, check NVidia or ATI samples which might contain smart ways to improve things. Try http://developer.nvidia.com/directx or http://developer.amd.com/sdks/radeon/Pages/default.aspx. I think all versions of their SDKs contain water samples.
i am using DX9 now. Can you link any tutorials in here??

i am using DX9 now. Can you link any tutorials in here??



Riemer's series on advanced terrain has a water effect. It's with XNA, but can be easily converted to DirectX9. It's a fun task to convert it too :)

http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series4/The_water_technique.php



Riemer's series on advanced terrain has a water effect. It's with XNA, but can be easily converted to DirectX9. It's a fun task to convert it too :)

http://www.riemers.n...r_technique.php



Reimers tut will get you on the right track. Most of it's done in the shader anyway but you might want to ask yourself what kind of water are you wanting to render. Reimers tut will worlk for rivers, streams and lakes but if your wanting ocean water then you'll need to find another resource. Here's a link to Nvidia's GPU gems water tut (LINK). It's a bit dated but will give you an idea about the main concept used.
directx 10 water tutorial

This topic is closed to new replies.

Advertisement