summaryrefslogtreecommitdiffstats
path: root/src/graphs3d/qml/resources/SurfaceSliceMaterial.qml
blob: a3e7b6dad4bae8d85e1fe8e3d978b1e68a261a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick3D
import QtQuick

CustomMaterial {
    property bool isColumn: false
    property TextureInput custex: TextureInput {}

    shadingMode: CustomMaterial.Shaded
    vertexShader: "qrc:/shaders/surfaceSlicevert"
    fragmentShader: "qrc:/shaders/rangegradientfrag"
}