Limit maximum number of bones to 24 per model node
Vanilla cap seems to be 18 bones per model node. We would only need more if we decide to add support for other model formats which I don't see as likely.
This commit is contained in:
parent
373087790b
commit
a5f891141d
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ const int FEATURE_FOG = 0x20000;
|
||||||
const int FEATURE_DANGLYMESH = 0x40000;
|
const int FEATURE_DANGLYMESH = 0x40000;
|
||||||
|
|
||||||
const int NUM_CUBE_FACES = 6;
|
const int NUM_CUBE_FACES = 6;
|
||||||
const int MAX_BONES = 128;
|
const int MAX_BONES = 24;
|
||||||
const int MAX_LIGHTS = 8;
|
const int MAX_LIGHTS = 8;
|
||||||
const int MAX_PARTICLES = 64;
|
const int MAX_PARTICLES = 64;
|
||||||
const int MAX_CHARS = 128;
|
const int MAX_CHARS = 128;
|
||||||
|
|
|
@ -26,7 +26,7 @@ constexpr int kNumCubeFaces = 6;
|
||||||
constexpr float kDefaultClipPlaneNear = 0.1f;
|
constexpr float kDefaultClipPlaneNear = 0.1f;
|
||||||
constexpr float kDefaultClipPlaneFar = 10000.0f;
|
constexpr float kDefaultClipPlaneFar = 10000.0f;
|
||||||
|
|
||||||
constexpr int kMaxBones = 128;
|
constexpr int kMaxBones = 24;
|
||||||
constexpr int kMaxLights = 8;
|
constexpr int kMaxLights = 8;
|
||||||
constexpr int kMaxParticles = 64;
|
constexpr int kMaxParticles = 64;
|
||||||
constexpr int kMaxCharacters = 128;
|
constexpr int kMaxCharacters = 128;
|
||||||
|
|
Loading…
Reference in a new issue