stk-code_catmod/data/shaders/slicedscreenquad_nvworkaround.vert

12 lines
150 B
GLSL
Raw Normal View History

2014-08-14 15:26:16 -04:00
uniform int slice;
in vec2 Position;
in vec2 Texcoord;
out int layer;
void main() {
layer = slice;
gl_Position = vec4(Position, 0., 1.);
}