3 #include "GameObject.hpp"
4 #include "CubeCoords.hpp"
33 using CursorDataPtr_t = ::std::shared_ptr<::basement::Cursor>;
34 using ComponentPtr_t = ::covellite::api::Component::ComponentPtr_t;
35 using Updater_t = ::covellite::api::Updater_t;
40 ::glm::mat4 Projection;
45 float IdX, IdY, dummy2, dummy3;
50 float X, Y, dummy2, dummy3;
61 Objects_t
GetObject(
const Any_t &)
const override;
64 Object_t GetPass1(
void)
const;
65 Object_t GetPass2(
void)
const;
66 Object_t GetPass3(
void)
const;
69 Object_t GetTextureSurface(
const bool)
const;
70 Object_t GetShadowCamera(
void)
const;
71 static Object_t GetShadowShaders(
void);
72 Object_t GetSceneCamera(
void)
const;
73 static Object_t GetSceneShaders(
void);
74 Object_t GetShaderData(
const CubeCoords &)
const;
75 Object_t GetTransformData(
const CubeCoords &)
const;
76 static Object_t GetTransform(
const Object_t &);
77 static Object_t GetFlatCamera(
void);
78 Object_t GetFlatShaders(
const String_t & = uT(
"psExperimental"))
const;
79 Object_t GetTextureObject(
const String_t &,
const float = 0.0f)
const;
82 float m_ScaleFactor = 1.5f;
83 ComponentPtr_t m_pLightCamera;
85 Object_t m_SurfaceTextures;
86 ComponentPtr_t m_pSceneCamera;
87 ComponentPtr_t m_pBkSurface;
88 ::std::shared_ptr<ShaderData> m_pShaderData;
89 mutable CursorDataPtr_t m_pCursorData;
90 Object_t m_SceneObjects_pass1;
91 Object_t m_SceneObjects_pass2;
94 explicit Shadows(
const Another::Value);