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;
75 std::list<SIRender*> m_shadowObject;
76 mutable int m_shadowCount = 0;
78 int m_lightMapCount = 3;
int GetShadowCount() const
void RefreshShadowCount(int shadowCount=-1) const
void AttachLightMapToShader(const GLProgramHandle *handle, int textureLayout) const
const int SHADOW_HEIGHT
Height of the shadow map.
const int SHADOW_WIDTH
Width of the shadow map.
void AttachLightToShader(const GLProgramHandle *handle) const
int GetLightMapCount() const
static constexpr float SHADOW_DISTANCE
Distance of the shadow map.