diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-14 19:05:08 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-14 19:05:08 +1000 |
| commit | 74272292979a9e9727444813d1af569c1a33cd9b (patch) | |
| tree | 6fb0cb303b30d4a6f3117ba8623895ff7b3ba16a /components/effects | |
| parent | utilities: add scrim to recording delete modal (diff) | |
| download | caelestia-shell-74272292979a9e9727444813d1af569c1a33cd9b.tar.gz caelestia-shell-74272292979a9e9727444813d1af569c1a33cd9b.tar.bz2 caelestia-shell-74272292979a9e9727444813d1af569c1a33cd9b.zip | |
internal: add opacity mask component
Diffstat (limited to 'components/effects')
| -rw-r--r-- | components/effects/OpacityMask.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/effects/OpacityMask.qml b/components/effects/OpacityMask.qml new file mode 100644 index 0000000..22e4249 --- /dev/null +++ b/components/effects/OpacityMask.qml @@ -0,0 +1,9 @@ +import Quickshell +import QtQuick + +ShaderEffect { + required property Item source + required property Item maskSource + + fragmentShader: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/shaders/opacitymask.frag.qsb`) +} |