🔧 Pass window padding to the shaders

This commit is contained in:
Simon Schneegans
2022-05-16 07:38:09 +02:00
parent 812fa6612a
commit de190b4fd9
8 changed files with 29 additions and 8 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ vec4 getMasks(float progress) {
streakMask = max(streakMask, showerMask);
// Fade-out the masks at the window edges.
float edgeFade = getAbsoluteEdgeMask(EDGE_FADE);
float edgeFade = getAbsoluteEdgeMask(EDGE_FADE, 0.5);
streakMask *= edgeFade;
showerMask *= edgeFade;