MrLaki5 / Height-fluid-water-simulation

Water simulation with height fluid maps inside shaders.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Water simulation using height maps inside shaders in Unity:

  • Implementation done with two shader programs. First shader program calculates height positions and stores them in texture. Second shader program renders in fragment shader heights of fragments based on texture.
  • Reflection of skybox.
  • Specular reflection of directional light.
  • Interaction with water done with: mouse clicking and moving objects in water.

About

Water simulation with height fluid maps inside shaders.

License:MIT License


Languages

Language:C# 54.3%Language:ShaderLab 45.7%