mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
e5600ab99b
Some implementations of the ES 1.00 shader (such as Google's ANGLE) do not like the 'f' suffix for floats, so just drop it, as it should be harmless to drop.
8 lines
168 B
GLSL
8 lines
168 B
GLSL
precision highp 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);
|
|
}
|