blob: 10ab0c0884de14cacbb883d274b27740774659c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial
#version 440
layout(location = 0) in vec2 texCoord;
layout(location = 1) in float vertexOpacity;
layout(location = 0) out vec4 fragColor;
layout(binding = 1) uniform sampler2D qt_Texture;
void main()
{
fragColor = texture(qt_Texture, texCoord) * vertexOpacity;
}
|