summaryrefslogtreecommitdiff
path: root/src/common/overlay/assets/shaders/scene/vert.glsl
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-02-16 22:55:43 -0500
committerLLLL Colonq <llll@colonq>2025-02-16 22:55:43 -0500
commit4d0a8140130ebd0f46744b86eeb2a708657a942e (patch)
tree6b1a11e07173c769d0f3522c2f6088409b69332d /src/common/overlay/assets/shaders/scene/vert.glsl
parent33d69b282e082acce3c5d36cc08cd99a7ccf738d (diff)
Switch to workspace
Diffstat (limited to 'src/common/overlay/assets/shaders/scene/vert.glsl')
-rw-r--r--src/common/overlay/assets/shaders/scene/vert.glsl18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/common/overlay/assets/shaders/scene/vert.glsl b/src/common/overlay/assets/shaders/scene/vert.glsl
deleted file mode 100644
index 64f400c..0000000
--- a/src/common/overlay/assets/shaders/scene/vert.glsl
+++ /dev/null
@@ -1,18 +0,0 @@
-in vec4 joint;
-in vec4 weight;
-
-uniform mat4 joint_matrices[128];
-
-void main()
-{
- vertex_texcoord = texcoord;
- vertex_normal = (normal_matrix * vec4(normal, 1.0)).xyz;
- mat4 skin
- = weight.x * joint_matrices[int(joint.x)]
- + weight.y * joint_matrices[int(joint.y)]
- + weight.z * joint_matrices[int(joint.z)]
- + weight.w * joint_matrices[int(joint.w)];
- vec3 pos = (position * skin * vec4(vertex, 1.0)).xyz;
- vertex_view_vector = camera_pos - pos;
- gl_Position = projection * view * vec4(pos, 1.0);
-}