NVIDIA DirectX 11 Compute Shader Demo: Ocean
The demo shows a real-time simulated ocean under twilight lighting condition. It uses DirectX Compute Shader to perform FFT (fast fourier transform) on GPU (three 512×512 Fourier transforms are executed per frame – on a GTX280, the transforms can be finished within 2 milliseconds). The water surface is mainly modeled after Jerry Tessendorf’s statistic method described in the paper “Simulating Ocean Water”, which is one of the most popular techniques used for water effect in todays games.
[ Subscribe to Geeks3D latest news by email ]