Add shoreline facility

This commit is contained in:
2026-04-07 21:26:37 -07:00
parent 7db6259b06
commit 5a7350dbae
20 changed files with 2022 additions and 240 deletions

View File

@@ -0,0 +1,20 @@
#version 330 core
// Feature 9: PPI Shoreline / Terrain — fragment stage
// Active points render in P7 blue; fading points render in P7 greenish-yellow
// with brightness proportional to vFade.
in float vFade;
in float vActive;
uniform vec3 uActiveColor; // P7A blue
uniform vec3 uPersistColor; // P7P greenish yellow
out vec4 fragColor;
void main()
{
if (vFade <= 0.01) discard;
vec3 col = (vActive > 0.5)
? uActiveColor
: uPersistColor * vFade;
fragColor = vec4(col, vFade);
}