aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick3d/lights/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick3d/lights/main.qml')
-rw-r--r--examples/quick3d/lights/main.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/quick3d/lights/main.qml b/examples/quick3d/lights/main.qml
index 3cf129a0..f79eb0ec 100644
--- a/examples/quick3d/lights/main.qml
+++ b/examples/quick3d/lights/main.qml
@@ -113,8 +113,8 @@ Window {
scale: Qt.vector3d(15, 15, 15)
eulerRotation.x: -90
materials: [
- DefaultMaterial {
- diffuseColor: Qt.rgba(0.8, 0.6, 0.4, 1.0)
+ PrincipledMaterial {
+ baseColor: Qt.rgba(0.8, 0.6, 0.4, 1.0)
}
]
}
@@ -123,8 +123,8 @@ Window {
z: -400
scale: Qt.vector3d(15, 15, 15)
materials: [
- DefaultMaterial {
- diffuseColor: Qt.rgba(0.8, 0.8, 0.9, 1.0)
+ PrincipledMaterial {
+ baseColor: Qt.rgba(0.8, 0.8, 0.9, 1.0)
}
]
}
@@ -132,8 +132,8 @@ Window {
RotatingTeaPot {
visible: !checkBoxCustomMaterial.checked
- material: DefaultMaterial {
- diffuseColor: Qt.rgba(0.9, 0.9, 0.9, 1.0)
+ material: PrincipledMaterial {
+ baseColor: Qt.rgba(0.9, 0.9, 0.9, 1.0)
}
animate: checkBoxAnimate.checked
}