Skip to content

MrLaki5/Height-fluid-water-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.