13 lines
263 B
Plaintext
13 lines
263 B
Plaintext
|
#version 450
|
||
|
|
||
|
layout (location = 0) in vec4 color;
|
||
|
layout (location = 1) in vec2 texCoord;
|
||
|
|
||
|
layout(set = 2, binding = 0) uniform sampler2D Sampler;
|
||
|
|
||
|
layout (location = 0) out vec4 outputColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
outputColor = color * texture(Sampler, texCoord);
|
||
|
}
|