chore: Increase maximum number of lights to 8
This commit is contained in:
parent
c927bffce8
commit
cb7edd7e4f
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue