mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 05:30:28 +00:00
da43bfd272
We have a couple of syntax errors, like 'f' modifier for floating point values.
8 lines
170 B
GLSL
8 lines
170 B
GLSL
precision mediump float;
|
|
|
|
void main() {
|
|
float lerpVal = gl_FragCoord.y / 500.0;
|
|
|
|
gl_FragColor = mix(vec4(1.0, 0.85, 0.35, 1.0), vec4(0.2, 0.2, 0.2, 1.0), lerpVal);
|
|
}
|