spacegame/shader_src/texture.frag

12 lines
265 B
GLSL

#version 450
layout(location = 0) in vec3 fragColor;
layout(location = 1) in vec2 fragTex;
layout(location = 0) out vec4 outColor;
layout(set = 1, binding = 0) uniform sampler2D texSamplers[1000];
void main() {
outColor = texture(texSamplers[1], fragTex);
}