Learning_GTK4_tree/demos/gtk-demo/glarea-gles.fs.glsl

8 lines
168 B
Plaintext
Raw Normal View History

2023-12-12 11:36:42 +01:00
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);
}