1#include "BasicOceanComponent.h"
6void Cogs::Core::BasicOceanComponent::registerType()
10 {
"Default", BasicOceanWaves::Default },
11 {
"Quux", BasicOceanWaves::Quux },
13 TypeDatabase::createType<BasicOceanWaves>().setEnumerators(enumerators);
17 {
"FlatEarth", BasicOceanBeliefSystem::FlatEarth },
18 {
"CurvedEarth", BasicOceanBeliefSystem::CurvedEarth },
20 TypeDatabase::createType<BasicOceanBeliefSystem>().setEnumerators(enumerators);
24 {
"Planar", BasicOceanReflection::Planar },
25 {
"EnvSkyBox", BasicOceanReflection::EnvSkyBox },
26 {
"EnvRadiance", BasicOceanReflection::EnvRadiance },
28 TypeDatabase::createType<BasicOceanReflection>().setEnumerators(enumerators);
33 Field(
Name(
"waves"), &BasicOceanComponent::waves),
34 Field(
Name(
"beliefSystem"), &BasicOceanComponent::beliefSystem),
36 Field(
Name(
"reflection"), &BasicOceanComponent::reflection),
37 Field(
Name(
"physicallyBasedRendering"), &BasicOceanComponent::pbr),
40 Field(
Name(
"fftTileResolutionLog2"), &BasicOceanComponent::fftTileResolutionLog2),
42 Field(
Name(
"significantWaveHeight"), &BasicOceanComponent::significantWaveHeight),
43 Field(
Name(
"dominantWavePeriod"), &BasicOceanComponent::dominantWavePeriod),
44 Field(
Name(
"windSpeed"), &BasicOceanComponent::windSpeed),
45 Field(
Name(
"windDirection"), &BasicOceanComponent::windDirection),
46 Field(
Name(
"reflectionTexFormat"), &BasicOceanComponent::reflectionTexFormat),
47 Field(
Name(
"reflectionCamera"), &BasicOceanComponent::reflectionCamera),
50 TypeDatabase::createType<BasicOceanComponent>()
float reflectionBrightness
Multiplicative factor reflection.
float seaLevel
Vertical displacement of average sea height.
float transparency
Transparency of water.
glm::vec4 color
Color of water. Alpha taken from transparency component.
Field definition describing a single data member of a data structure.
Contains reflection support.
Represents an unique name.