TerraForge3D  2.3.1
3D Terrain And Landscape Generator
SeaManager Class Reference

Public Member Functions

 SeaManager (ApplicationState *appState)
 
void Load (nlohmann::json data)
 
nlohmann::json Save ()
 
void Render (Camera &camera, LightManager *lights, void *reflectionTexture, float time=0)
 
void ShowSettings (bool *pOpen)
 

Public Attributes

float level = 0.0f
 
bool enabled = true
 

Private Attributes

Modelmodel
 
Texture2DdudvMap
 
Texture2DnormalMap
 
Shadershader
 
ApplicationStateappState
 
float alpha = 0.5f
 
float distrotionScale = 1.0f
 
float distrotionStrength = 0.02f
 
float reflectivity = 0.7f
 
float waveSpeed = 0.01f
 
float scale = 1.0f
 
float color [3]
 

Detailed Description

Definition at line 11 of file SeaManager.h.


The documentation for this class was generated from the following files: