summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/skybox/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/skybox/main.qml')
-rw-r--r--examples/qt3d/skybox/main.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qt3d/skybox/main.qml b/examples/qt3d/skybox/main.qml
index 83bb663cf..8c995e94f 100644
--- a/examples/qt3d/skybox/main.qml
+++ b/examples/qt3d/skybox/main.qml
@@ -60,8 +60,10 @@ Entity {
}
// So that the camera is rendered always at the same position as the camera
- Skybox {
+ SkyboxEntity {
cameraPosition: basicCamera.position
+ sourceDirectory: "qrc:/assets/cubemaps/miramar/miramar"
+ extension: ".webp"
}
Configuration {