I was tinkering with Cube Maps and found a displacement vertex shader in my old Blender demo archives… and i had an idea to use it to make ocean waves. Im impressed by the speed of the vertex shader, with all the textures and stuff it runs ~400 fps.
There could be problems running this on ATI cards due fresnel thing… so ill try to figure out how to fake the effect.
screenshots:
and a blend.
or
http://www.savefile.com/files/2080784
Version 2
Controls:
Mouse - look
WASD - move
up/down arrowkeys - change big wave height
mousewheel up/down - change small wave height
left/right arrowkeys - change foam amount
1- ssao only
2- +ssao
3- cromatic aberration
4- bloom
Download blend
http://www.pasteall.org/blend/40
Optimized demo:
[ATTACH]69645[/ATTACH]