https://github.com/realkushagrakhare/projectwater
Realistic water rendering using shaders in OpenGL. Inspired from Evan Wallace's WebGL water rendering.
https://github.com/realkushagrakhare/projectwater
caustics evan-wallace opengl raytracing rendering rendering-water ripple shaders water water-caustics
Last synced: about 1 month ago
JSON representation
Realistic water rendering using shaders in OpenGL. Inspired from Evan Wallace's WebGL water rendering.
- Host: GitHub
- URL: https://github.com/realkushagrakhare/projectwater
- Owner: realkushagrakhare
- Created: 2018-03-12T19:59:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-07T10:37:51.000Z (over 6 years ago)
- Last Synced: 2025-03-29T16:34:15.844Z (2 months ago)
- Topics: caustics, evan-wallace, opengl, raytracing, rendering, rendering-water, ripple, shaders, water, water-caustics
- Language: C++
- Homepage:
- Size: 102 MB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Water
Realistic water rendering using shaders in OpenGL. Inspired from Evan Wallace's WebGL water rendering.
Play the simulation by running 'Water.exe' in 'Release' folder.## Features
- Raytraced reflections and refractions
- Heightfield water simulation
- Caustics (https://medium.com/@evanwallace/rendering-realtime-caustics-in-webgl-2a99a29a0b2c)
## Controls
- Draw on the water to make ripples
- Drag the background to rotate the camera
- Press SPACEBAR to pause and unpause
- Use WSAD keys to move the light
- Press O to change colour of water. Blue water helps in seeing caustics more clearly.