ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
25 lines
568 B
GLSL
25 lines
568 B
GLSL
// Copyright (C) 2025 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#version 440
|
|
|
|
|
|
layout(location = 0) out vec4 fragOutput;
|
|
|
|
layout(location = 0) in vec2 uv_coord;
|
|
|
|
layout(std140, binding = 0) uniform buf {
|
|
vec4 startColor;
|
|
vec4 endColor;
|
|
};
|
|
|
|
void main()
|
|
{
|
|
// Calculate the gradient based on the UV coordinates
|
|
float gradientFactor = uv_coord.x; // Use the y-coordinate for vertical gradient
|
|
vec4 color = mix(startColor, endColor, gradientFactor);
|
|
|
|
// Set the output color
|
|
fragOutput = color;
|
|
}
|