2024-10-01 18:30:31 -04:00
|
|
|
#version 450
|
|
|
|
|
2024-10-11 00:42:58 -04:00
|
|
|
layout(binding = 1) uniform sampler2D texSampler;
|
|
|
|
|
2024-10-01 18:30:31 -04:00
|
|
|
layout(location = 0) in vec3 fragColor;
|
2024-10-11 00:42:58 -04:00
|
|
|
layout(location = 1) in vec2 fragTexCoord;
|
2024-10-01 18:30:31 -04:00
|
|
|
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
|
|
|
|
void main() {
|
2024-10-11 00:42:58 -04:00
|
|
|
outColor = texture(texSampler, fragTexCoord);
|
2024-10-01 18:30:31 -04:00
|
|
|
}
|