File: glarea-gl.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 (9 lines) | stat: -rw-r--r-- 189 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
7
8
9
#version 330

out vec4 outputColor;

void main() {
  float lerpVal = gl_FragCoord.y / 500.0f;

  outputColor = mix(vec4(1.0f, 0.85f, 0.35f, 1.0f), vec4(0.2f, 0.2f, 0.2f, 1.0f), lerpVal);
}