stk-code_catmod/data/shaders/slicedscreenquad_nvworkaround.vert
2014-08-14 21:26:16 +02:00

12 lines
150 B
GLSL

uniform int slice;
in vec2 Position;
in vec2 Texcoord;
out int layer;
void main() {
layer = slice;
gl_Position = vec4(Position, 0., 1.);
}