Here is a shader that I have been working on to simulate water. Not much going on at the moment except a couple of sine waves and texture offsets. Shader Model 2.0. I want to thank hausmaus for helping me out. I still don’t understand how to move between tangent and world space but maybe one day I will .
Hey this is pretty cool, you might want to give a different tilling size and offset for each waves/foam texture so they not overlaping and to prevent some double vision.
I got rid of the textures moving in 2 directions so the double vision thing is gone. not as complex looking so maybe I’ll add something more later.
I will think about releasing this when I get it done.
Here is a small updated webplayer. I still am working on the motion of the boat. I got stuck on solving 3 rotations. I can only ever get 2 at the same time :(.
Also need to figure out a way to smooth the transition of the boat over the crest of the wave.
Yes, I have an Indie copy of the software. There is nothing fancy about the shader. It is a single pass and written for Shader Model 2.0. For the normal map to work on Iphone I think I need to change a few lines.
I just uploaded a new demo. It runs fine in my Firefox browser but won’t open in Chrome. Hmmm…