Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MrLaki5/Height-fluid-water-simulation
Water simulation with height fluid maps inside shaders.
https://github.com/MrLaki5/Height-fluid-water-simulation
fluid-simulation fragments heightmaps reflection shader texture unity unity3d water-simulation
Last synced: 3 months ago
JSON representation
Water simulation with height fluid maps inside shaders.
- Host: GitHub
- URL: https://github.com/MrLaki5/Height-fluid-water-simulation
- Owner: MrLaki5
- License: mit
- Created: 2019-09-03T09:51:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-07T08:10:42.000Z (almost 5 years ago)
- Last Synced: 2023-10-20T21:54:51.311Z (9 months ago)
- Topics: fluid-simulation, fragments, heightmaps, reflection, shader, texture, unity, unity3d, water-simulation
- Language: C#
- Homepage:
- Size: 16.5 MB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome - MrLaki5/Height-fluid-water-simulation - Water simulation with height fluid maps inside shaders. (C\#)
README
# 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.
![]()