aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick3d/intro/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick3d/intro/main.qml')
-rw-r--r--examples/quick3d/intro/main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick3d/intro/main.qml b/examples/quick3d/intro/main.qml
index 648cfcf5c..ab4e6a6de 100644
--- a/examples/quick3d/intro/main.qml
+++ b/examples/quick3d/intro/main.qml
@@ -42,8 +42,8 @@ Window {
position: Qt.vector3d(0, -200, 0)
source: "#Cylinder"
scale: Qt.vector3d(2, 0.2, 1)
- materials: [ DefaultMaterial {
- diffuseColor: "red"
+ materials: [ PrincipledMaterial {
+ baseColor: "red"
}
]
}
@@ -52,8 +52,8 @@ Window {
position: Qt.vector3d(0, 150, 0)
source: "#Sphere"
- materials: [ DefaultMaterial {
- diffuseColor: "blue"
+ materials: [ PrincipledMaterial {
+ baseColor: "blue"
}
]