1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2026-02-08 00:32:27 +00:00

Add a couple new fonts and smaller improvements all around.

This commit is contained in:
Filippo Scognamiglio
2026-01-12 23:52:54 +01:00
parent 471ec29f5d
commit 2d2749cb20
16 changed files with 561 additions and 452 deletions

View File

@@ -64,7 +64,7 @@ void main() {
float distPixels = roundedRectSdfPixels(coords, vec2(0.0), vec2(1.0), screenRadiusPixels);
float frameShadow = (e * 0.66 + w * 0.66 + n * 0.33 + s) * depth;
frameShadow *= smoothstep(0.0, edgeSoftPixels * 10.0, distPixels);
frameShadow *= smoothstep(0.0, edgeSoftPixels * 5.0, distPixels);
float frameAlpha = 1.0 - frameShininess * 0.4;