From 62017e0bd8ee612ae65233ba76c4a75aaaacc469 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Wed, 6 Sep 2023 18:48:51 -0400 Subject: [PATCH] Increased max bones to 200 --- Editor/resources/Shaders/gbuffer_skinned.shader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/resources/Shaders/gbuffer_skinned.shader b/Editor/resources/Shaders/gbuffer_skinned.shader index c13922ce..4712d27d 100644 --- a/Editor/resources/Shaders/gbuffer_skinned.shader +++ b/Editor/resources/Shaders/gbuffer_skinned.shader @@ -13,7 +13,7 @@ uniform mat4 u_Model; uniform mat4 u_View; uniform mat4 u_Projection; -const int MAX_BONES = 100; +const int MAX_BONES = 200; const int MAX_BONES_INFLUENCE = 4; uniform mat4 u_FinalBonesMatrice[MAX_BONES];