Warning, /plasma/plasma-workspace/lookandfeel/components/WallpaperFader.frag is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com> 0003 SPDX-FileCopyrightText: 2023 David Redondo <kde@david-redondo.de> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 #version 440 0008 0009 layout(location = 0) in vec2 qt_TexCoord0; 0010 layout(std140, binding = 0) uniform buf { 0011 mat4 qt_Matrix; 0012 float qt_Opacity; 0013 mat4 colorMatrix; 0014 }; 0015 layout(binding = 1) uniform mediump sampler2D source; 0016 layout(location = 0) out vec4 fragColor; 0017 0018 void main(void) 0019 { 0020 mediump vec4 tex = texture(source, qt_TexCoord0); 0021 fragColor = tex * colorMatrix * qt_Opacity; 0022 }