aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/data/view3d/ClearModeSkyBoxCubeMap.qml
blob: 15dff28fc85d4ed6f0e55a0cee937d41f1a465f2 (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
29
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick
import QtQuick3D

//import "../shared/"
import "."

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

    View3D {
        anchors.fill: parent

        environment: SceneEnvironment {
            clearColor: "#d6dbdf"
            backgroundMode: SceneEnvironment.SkyBoxCubeMap
            skyBoxCubeMap: CubeMapTexture {
                source: "../shared/maps/clouds1_%p.jpg"
            }
        }
        PerspectiveCamera {
            id: dummyCamera
        }
    }
}