stk-code_catmod/data/shaders/layertexturequad.frag

10 lines
150 B
GLSL
Raw Permalink Normal View History

2014-06-08 16:18:32 -04:00
uniform sampler2DArray tex;
uniform int layer;
in vec2 uv;
out vec4 FragColor;
void main()
{
FragColor = texture(tex, vec3(uv, float(layer)));
}