File: glarea-gles.fs.glsl

package info (click to toggle)
gtkmm3.0 3.24.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,316 kB
  • sloc: xml: 121,335; cpp: 8,647; makefile: 286; sh: 202; python: 6
file content (7 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
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);
}