b2de7f8583
Task-number: QTBUG-78971 Change-Id: I0e7e0f3c00f9509031f7b4a8a389e51c915f01c2 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
14 lines
217 B
GLSL
14 lines
217 B
GLSL
#version 440
|
|
|
|
layout(location = 0) in vec2 uv;
|
|
layout(location = 0) out vec4 fragColor;
|
|
|
|
layout(binding = 0) uniform sampler2D tex;
|
|
|
|
void main()
|
|
{
|
|
vec4 c = texture(tex, uv);
|
|
c.rgb *= c.a;
|
|
fragColor = c;
|
|
}
|