4#include "Base/SContainerList.h"
5#include "../Component/LightComponent.h"
6#include "../Util/Render/RenderInterfaces.h"
10 class GLProgramHandle;
11 class SEnvironmentMgr;
65 return m_lightMapCount;
74 static void ExterminateGlobalSettings();
77 std::list<SIRender*> m_shadowObject;
78 mutable int m_shadowCount = 0;
80 int m_lightMapCount = 3;
int GetShadowCount() const
void RefreshShadowCount(int shadowCount=-1) const
const int SHADOW_HEIGHT
Height of the shadow map.
const int SHADOW_WIDTH
Width of the shadow map.
int GetLightMapCount() const
int AttachLightMapToShader(const GLProgramHandle *handle, int textureLayout) const
static constexpr float SHADOW_DISTANCE
Distance of the shadow map.
int AttachLightToShader(const GLProgramHandle *handle) const