mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
14 lines
181 B
GLSL
14 lines
181 B
GLSL
#version 460
|
|
|
|
layout(location = 0) out vec4 fragColor;
|
|
|
|
uniform sampler2D sTexture;
|
|
|
|
in vec4 Color;
|
|
in vec2 UV;
|
|
|
|
void main()
|
|
{
|
|
fragColor = Color * texture(sTexture, UV.st).r;
|
|
}
|