A lot of changes

This commit is contained in:
Vladislav Khorev committed 2024-06-05 21:19:20 +03:00
1 parent 5720f8322b
commit ef92c70ae8
17 files changed
+12289 -42

No files matched your search

@@ -30,6 +30,9 @@ protected:
float GlobalShadowAreaHalfSize;
cardinal BkgTexID;
std::string BkgShaderName;
void CalcCamPosVec();
virtual void DrawQuad(const T2DQuad& quad) = 0;
@@ -78,6 +81,11 @@ public:
void BeginDrawToDepthBufferGlobal(std::string& globalBufferName);
void BeginDrawToDepthBufferLocal(std::string& localBufferName);
void EndDrawToDepthBuffer();
void SetBackgroundCubemap(cardinal bkgTex) { BkgTexID = bkgTex; }
void SetBackgroundShader(const std::string& shaderName) { BkgShaderName = shaderName; }
void DrawBackground();
};