summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/SCsub
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-11-25 15:30:36 -0800
committerclayjohn <claynjohn@gmail.com>2022-11-29 09:45:03 -0800
commitf33ffd9ab4948e0fa649de9bbe490a1d4f977691 (patch)
treed3b2dc0307fcae13eb6f027216aac949e85dba6f /drivers/gles3/shaders/SCsub
parent55dae301777ba609c3255026f9a9852a0dbfd43b (diff)
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.
Diffstat (limited to 'drivers/gles3/shaders/SCsub')
-rw-r--r--drivers/gles3/shaders/SCsub1
1 files changed, 1 insertions, 0 deletions
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")