13 lines
236 B
GLSL
13 lines
236 B
GLSL
#version 400 core
|
|
in vec2 in_position;
|
|
|
|
uniform mat4 u_view;
|
|
|
|
out vec2 textureCoord;
|
|
out vec3 lightVector;
|
|
out vec4 shadowPosition;
|
|
|
|
void main() {
|
|
textureCoord = in_position * 0.5 + 0.5;
|
|
gl_Position = vec4(in_position, 0, 1);
|
|
}
|