refactor(render): rename depth player shaders to depth model and clean up

This commit is contained in:
2026-07-24 19:53:35 +08:00
parent 94fed9a810
commit 3e7ce71219
4 changed files with 3 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
#version 460
layout (location = 0) in vec3 pos;
layout (location = 1) in vec2 texCoord;
uniform mat4 lightSpaceMatrix;
uniform mat4 modelMatrix;
out vec2 tc;
void main() {
tc = texCoord;
gl_Position = lightSpaceMatrix * modelMatrix * vec4(pos, 1.0);
}