Temperary increase max bone as 80 08/297708/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 23 Aug 2023 07:03:10 +0000 (16:03 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 23 Aug 2023 07:03:10 +0000 (16:03 +0900)
TODO : This patch is temperal fix.
We need to remove this limitation in future

Change-Id: Ibe358bc37cd5babb6d9b6fba720bd3c7c0fb94f8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-scene3d/internal/graphics/shaders/default-physically-based-shader.vert
dali-scene3d/public-api/loader/skinning-details.cpp

index 8be7c88..5b6140c 100644 (file)
@@ -41,7 +41,7 @@ uniform mat4 uProjection;
 #ifdef SKINNING
   in vec4 aJoints;
   in vec4 aWeights;
-  #define MAX_BONES 64
+  #define MAX_BONES 80
   uniform mat4 uBone[MAX_BONES];
   uniform mediump vec3 uYDirection;
 #endif
index 0e5e499..2d49c1c 100644 (file)
@@ -25,7 +25,7 @@
 
 namespace Dali::Scene3D::Loader
 {
-const unsigned int Skinning::MAX_JOINTS = 64;
+const unsigned int Skinning::MAX_JOINTS = 80;
 
 const char* Skinning::BONE_UNIFORM_NAME = "uBone";
 } // namespace Dali::Scene3D::Loader