stk-code_catmod/data/shaders/frustrum.vert

9 lines
157 B
GLSL

uniform int idx;
layout(location = 0) in vec3 Position;
void main(void)
{
gl_Position = u_shadow_projection_view_matrices[idx] * vec4(Position, 1.);
}