12 lines
292 B
GLSL
12 lines
292 B
GLSL
|
|
#version 450
|
||
|
|
|
||
|
|
layout(set = 0, binding = 0) uniform texture2D uTexture;
|
||
|
|
layout(set = 1, binding = 0) uniform sampler uSampler;
|
||
|
|
|
||
|
|
layout(location = 0) in vec2 vTexCoord;
|
||
|
|
layout(location = 0) out vec4 fragColor;
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
fragColor = texture(sampler2D(uTexture, uSampler), vTexCoord);
|
||
|
|
}
|