aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects/Blur.qml
blob: d823e65bac352a07286c7e28403cba423384a1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick
import QtQuick3D

Effect {
    property real amount: 0.01

    Shader {
        id: blur
        stage: Shader.Fragment
        shader: "qrc:/qtquick3deffects/shaders/blur.frag"
    }

    passes: [
        Pass {
            shaders: [ blur ]
        }
    ]
}