From f33ffd9ab4948e0fa649de9bbe490a1d4f977691 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Fri, 25 Nov 2022 15:30:36 -0800 Subject: Add Skeletons and Blend Shapes to the OpenGL renderer This uses a similar multipass approach to blend shapes as Godot 3.x, the major difference here is that we need to convert the normals and tangents to octahedral for rendering. Skeletons work the same as the Vulkan renderer except the bones are stored in a texture as they were in 3.x. --- drivers/gles3/shaders/SCsub | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gles3/shaders/SCsub') diff --git a/drivers/gles3/shaders/SCsub b/drivers/gles3/shaders/SCsub index 2686b1aa48..34713e7e29 100644 --- a/drivers/gles3/shaders/SCsub +++ b/drivers/gles3/shaders/SCsub @@ -21,3 +21,4 @@ if "GLES3_GLSL" in env["BUILDERS"]: env.GLES3_GLSL("canvas_sdf.glsl") env.GLES3_GLSL("particles.glsl") env.GLES3_GLSL("particles_copy.glsl") + env.GLES3_GLSL("skeleton.glsl") -- cgit v1.2.3