10 #include "WaterShader.h"
11 #include "TextureMinifyType.h"
12 #include "VectorMath.h"
25 const TMaterialId materialId,
26 const std::string& name,
33 Rendering::TextureMinifyType textureMinifyType,
34 bool useAlternativeAmbient,
38 float envMapFadeoutAltitude
41 bool IsUsingAlternativeAmbient()
const {
return m_useAlternativeAmbient; }
42 void UseAlternativeAmbient(
bool useAlternativeAmbient) { m_useAlternativeAmbient = useAlternativeAmbient; }
44 const TMaterialId GetId()
const {
return m_id; }
45 const Shader& GetShader()
const {
return m_shader; }
46 const std::string& GetName()
const {
return m_name; }
57 void UpdateMaterial(
float deltaTime,
const dv3& ecefCameraPosition);
66 const TMaterialId m_id;
67 const std::string m_name;
75 Rendering::TextureMinifyType m_textureMinifyType;
77 bool m_useAlternativeAmbient;
78 float m_altitudeScale;
82 const float m_envMapFadeoutAltitude;