Files
updated-radar/build/shaders/graticule.frag
2026-04-23 08:05:03 -07:00

18 lines
406 B
GLSL

/*
* MIT License
* Author: Mark Allyn
*
* graticule.frag — single-colour fragment shader shared by the
* incandescent bearing graticule and the yellow cursor overlay.
* The colour (and alpha) is set via a uniform so one shader serves both.
*/
#version 330 core
out vec4 fragColor;
uniform vec4 u_color; // RGBA; use alpha < 1 for soft edges if needed
void main() {
fragColor = u_color;
}