1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-11 07:52:50 -05:00

Fix dark spot in disc shader after transition (#604)

This commit is contained in:
OpetBrebet
2025-11-02 21:35:04 +07:00
committed by GitHub
parent 749414ab65
commit 2aadbc1a61
2 changed files with 2 additions and 0 deletions

View File

@@ -120,5 +120,7 @@ void main() {
// Mix the textures (factor = 0 inside disc, 1 outside)
fragColor = mix(color2, color1, factor);
if (ubuf.progress <= 0.0) fragColor = color1;
fragColor *= ubuf.qt_Opacity;
}

Binary file not shown.