mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
8 lines
177 B
Plaintext
8 lines
177 B
Plaintext
|
precision highp float;
|
||
|
|
||
|
void main() {
|
||
|
float lerpVal = gl_FragCoord.y / 500.0f;
|
||
|
|
||
|
gl_FragColor = mix(vec4(1.0f, 0.85f, 0.35f, 1.0f), vec4(0.2f, 0.2f, 0.2f, 1.0f), lerpVal);
|
||
|
}
|