pawengine/res/shaders/frag.frag
qwertzuiopy 39ee7c8c8a nyaa
2025-04-11 16:50:08 +02:00

11 lines
264 B
GLSL

#version 450
layout(location = 0) in vec3 fragColor;
layout(location = 1) in vec2 fragUV;
layout(location = 0) out vec4 outColor;
layout(binding = 2) uniform sampler2D texSampler;
void main() {
outColor = texture(texSampler, fragUV) * vec4(fragColor, 1.0);
}