aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/data/view3d/ClearModeSkyBox.qml
blob: 5af0160698e866036c8a6c109ab7762666f2f980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick
import QtQuick3D

import "../shared/"

Rectangle {
    width: 320
    height: 480
    color: "blue"

    View3D {
        anchors.fill: parent

        environment: SceneEnvironment {
            backgroundMode: SceneEnvironment.SkyBox
            lightProbe: Texture {
                source: "../shared/maps/TestEnvironment-512.hdr"
                mappingMode: Texture.LightProbe
            }
        }
        PerspectiveCamera {
            id: dummyCamera
        }
    }
}