🔧 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
@@ -72,7 +72,7 @@ vec2 effectMask(float hideTime, float fadeWidth, float edgeFadeWidth) {
}
// Fade at window borders.
effectMask *= getAbsoluteEdgeMask(edgeFadeWidth);
effectMask *= getAbsoluteEdgeMask(edgeFadeWidth, 0.5);
if (uForOpening) {
windowMask = 1.0 - windowMask;