![]() |
vkmEngine 1.0.15
A C++ game engine · vkmengine.com
|
The scene's sea at the moment being computed (OceanSystem): its waves, its ripples and its look - what gameplay floats things on and what the renderer draws (GLOcean). More...
#include <ocean_data.h>
Public Attributes | |
| bool | present = false |
| The scene has an ocean; with none, nothing below is read. | |
| float | level = 0.0f |
| World height the water rests at: its Transform's. | |
| glm::vec3 | foamColor = glm::vec3(1.0f) |
| Linear. | |
| float | foam = 0.0f |
| How readily a squeezed crest whitens. | |
| float | waterline = 0.0f |
| Metres of foam where the water meets anything. | |
| float | detailScale = 1.0f |
| glm::vec2 | detailDrift = glm::vec2(0.0f) |
| How far the maps have drifted with the wind, in repeats, wrapped to [0, 1). | |
The scene's sea at the moment being computed (OceanSystem): its waves, its ripples and its look - what gameplay floats things on and what the renderer draws (GLOcean).
| float Vkm::Engine::OceanData::detailScale = 1.0f |
Metres across one repeat of a material's maps.