diff --git a/src/render/shaders.cpp b/src/render/shaders.cpp index b70a1c32..542a6bc0 100644 --- a/src/render/shaders.cpp +++ b/src/render/shaders.cpp @@ -46,7 +46,7 @@ static constexpr GLchar *kShaderBaseHeader = R"END( const float PI = 3.14159265359; const int MAX_BONES = 128; -const int MAX_LIGHTS = 4; +const int MAX_LIGHTS = 8; const float SHADOW_FAR_PLANE = 10000.0; struct Light { diff --git a/src/render/types.h b/src/render/types.h index a1baa8bd..7e26ef05 100644 --- a/src/render/types.h +++ b/src/render/types.h @@ -24,7 +24,7 @@ namespace reone { namespace render { static constexpr int kNumCubeFaces = 6; -static constexpr int kMaxLightCount = 4; +static constexpr int kMaxLightCount = 8; /** * This is a hint to the engine when configuring texture properties.