gedeng/Shader/depth-debug.vs
karl 3c35a730f5 Add basic setup for shadow rendering
adapted from the previous ECS project. working to some extent, but far from ideal
2021-05-20 00:15:58 +02:00

14 lines
194 B
GLSL

#version 430
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexCoords;
out vec2 TexCoords;
void main()
{
TexCoords = aTexCoords;
gl_Position = vec4(aPos, 1.0);
}