brimstone/shaders/basic.frag

12 lines
237 B
GLSL
Raw Permalink Normal View History

2024-11-10 10:04:32 +13:00
#version 460
2024-11-18 21:52:30 +13:00
layout(location = 0) in vec2 vertTexCoords;
2024-11-10 10:04:32 +13:00
layout(location = 0) out vec4 fragColor;
2024-11-18 21:52:30 +13:00
layout(set = 2, binding = 0) uniform sampler2D textureSampler;
2024-11-10 10:04:32 +13:00
void main() {
2024-11-18 21:52:30 +13:00
fragColor = texture(textureSampler, vertTexCoords);
2024-11-10 10:04:32 +13:00
}