Tesseract-Engine/assets/shaders/Depth.vert

13 lines
213 B
GLSL
Raw Permalink Normal View History

2024-12-31 21:45:24 +00:00
#version 330 core
2025-01-01 19:04:56 +00:00
2024-12-31 21:45:24 +00:00
layout(location = 0) in vec3 aPos;
2025-01-01 19:04:56 +00:00
uniform mat4 uModel;
uniform mat4 uLightView;
uniform mat4 uLightProj;
2024-12-31 21:45:24 +00:00
void main()
{
2025-01-01 19:04:56 +00:00
gl_Position = uLightProj * uLightView * uModel * vec4(aPos, 1.0);
2024-12-31 21:45:24 +00:00
}