15/shaders/sun_shadow.vert

11 lines
134 B
GLSL

#version 420 core
layout (location = 0) in vec3 pos;
uniform mat4 model;
void main()
{
gl_Position = model * vec4(pos, 1.0);
}