Water Surface and Rendering -- Yu-Hao Lu
Two extra shots
Abstract

This program create a water surface according to some physical rules by the shader code.  The moving water phenomenon is written by vertex shader. The reflection phenomenon is written by pixel shader.

Authors
Yu-Hao Lu
Abstract

This program create a water surface according to some physical rules by the shader code.  The moving water phenomenon is written by vertex shader. The reflection phenomenon is written by pixel shader.

Technical introduction

1. Reflection

Mirroring the position of the camera to the plane of the surface gives the exact location of the virtual view: just determine which color has the object which is visible through every pixel of the water from the virtual view.

2. Water move

Basically there are two different kinds of mechanical wave motion: longitudinal and transverse. This compound system has both longitudinal and transverse components and makes water particles move in a circular path.

Video