11 lines
247 B
GLSL
11 lines
247 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in vec4 color;
|
|
layout(location = 1) in vec2 texCoord;
|
|
layout(location = 0) out vec4 outColor;
|
|
layout(set = 2, binding = 0) uniform sampler2D texSampler;
|
|
|
|
void main()
|
|
{
|
|
outColor = texture(texSampler, texCoord);
|
|
} |