mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 02:32:29 +01:00
77a81451ca
Bump Qt to 6.3 to fix video loop Remove no longer working shader and add new WIP: Shader compilation path is wrong for some reason Add Steamless version content path Remove cmake-format: sortable from CMakeLists.txt Add Widnow scale indocator icon to the bottom right Remove unused doctest and benchmark Fix tests and installer cmake logic
13 lines
359 B
GLSL
13 lines
359 B
GLSL
#version 440
|
|
layout(location = 0) in vec2 coord;
|
|
layout(location = 0) out vec4 fragColor;
|
|
layout(std140, binding = 0) uniform buf {
|
|
mat4 qt_Matrix;
|
|
float qt_Opacity;
|
|
};
|
|
layout(binding = 1) uniform sampler2D src;
|
|
void main() {
|
|
vec4 tex = texture(src, coord);
|
|
fragColor = vec4(vec3(dot(tex.rgb, vec3(0.344, 0.5, 0.156))), tex.a) * qt_Opacity;
|
|
}
|