Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stanfortonski committed May 6, 2020
2 parents 9ce195d + da7e097 commit 8b61ded
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Ocean-OpenGL
#### Simple Ocean OpenGL 4.1 C++

![Ocean surface](ss/ocean.png)

### How it works?
This example do not calculate physics but do only simple interpolations between normalmaps, heightmaps. Tesselation allow us to divide plane and apply the heightmaps. Fragment allow us to calculate light so material color.
This example do not calculate physics but do only simple interpolations between normalmaps, heightmaps. Tessellation allow us to divide plane and apply the heightmaps. Fragment allow us to calculate light so material color.
For this project I used 14 normalmaps, 14 heightmaps and one texture with color.

### Input/Control:
```
R - start rotate camera
T - stop rotate camera
ESC - exit
```

### Libraries:
- GLEW library - http://glew.sourceforge.net
- GLFW library - https://www.glfw.org
Expand Down

0 comments on commit 8b61ded

Please sign in to comment.