stk-code_catmod/data/shaders/frustrum.vert

9 lines
146 B
GLSL
Raw Normal View History

2014-06-17 18:27:03 -04:00
uniform int idx;
layout(location = 0) in vec3 Position;
2014-06-17 18:27:03 -04:00
void main(void)
{
gl_Position = ShadowViewProjMatrixes[idx] * vec4(Position, 1.);
}