3#include "Systems/Core/CameraSystem.h"
5#include "Resources/Resources.h"
13 bool subseaSupport =
false;
14 bool imageBasedLighting =
false;
16 float subseaTurbidityDistance = 20.f;
17 float subseaTurbidityAmount = 1.f;
18 float skyMultiplier = 1.f;
29 bool isSubmerged(
const CameraData* camData)
const
31 return subseaSupport && (!camData->reflection && camData->inverseViewMatrix[3].z < seaLevel);
34 static void registerType();
39template<>
inline Cogs::StringView getName<Cogs::Core::EnvironmentComponent>() {
return "EnvironmentComponent"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.
Contains data describing a Camera instance and its derived data structured such as matrix data and vi...
static const ResourceHandle_t NoHandle
Handle representing a default (or none if default not present) resource.