summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/pbr-materials
diff options
context:
space:
mode:
authorJean-Michaël Celerier <jean-michael.celerier@kdab.com>2020-06-03 15:13:45 +0200
committerJean-Michaël Celerier <jean-michael.celerier@kdab.com>2020-06-04 10:25:31 +0200
commit840a51d3dde8b99fa29eebbbd142bf7a4ae19230 (patch)
tree30e8fca1dad96d4d42e91db69b5c377ee1ba9d9c /examples/qt3d/pbr-materials
parent4e55bf1c6c2fc45cb9d00bfb0b323ea35219ec31 (diff)
Remove references to removed TexturedMetalRoughMaterial
Change-Id: Ia1dd8d0441f6e6371cec574f7d937d6d94c57186 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples/qt3d/pbr-materials')
-rw-r--r--examples/qt3d/pbr-materials/main.qml14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/qt3d/pbr-materials/main.qml b/examples/qt3d/pbr-materials/main.qml
index 301a113b5..0b69b5659 100644
--- a/examples/qt3d/pbr-materials/main.qml
+++ b/examples/qt3d/pbr-materials/main.qml
@@ -52,7 +52,7 @@ import QtQuick 2.1
import Qt3D.Core 2.0
import Qt3D.Render 2.9
import Qt3D.Input 2.0
-import Qt3D.Extras 2.9
+import Qt3D.Extras 2.15
Entity {
id: root
@@ -117,7 +117,7 @@ Entity {
Mesh {
source: "assets/obj/plane-10x10.obj"
},
- TexturedMetalRoughMaterial {
+ MetalRoughMaterial {
baseColor: TextureLoader {
source: "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png"
format: Texture.SRGB8_Alpha8
@@ -177,7 +177,7 @@ Entity {
rotationY: -90
}
- TexturedMetalRoughMaterial {
+ MetalRoughMaterial {
id: matSphere1Material
baseColor: TextureLoader {
source: "assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png"
@@ -206,7 +206,7 @@ Entity {
rotationY: -90
}
- TexturedMetalRoughMaterial {
+ MetalRoughMaterial {
id: matSphere2Material
baseColor: TextureLoader {
source: "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png"
@@ -235,7 +235,7 @@ Entity {
rotationY: -90
}
- TexturedMetalRoughMaterial {
+ MetalRoughMaterial {
id: matSphere3Material
baseColor: TextureLoader {
source: "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png"
@@ -264,7 +264,7 @@ Entity {
rotationY: -90
}
- TexturedMetalRoughMaterial {
+ MetalRoughMaterial {
id: matSphere4Material
baseColor: TextureLoader {
source: "assets/textures/copper_brushed/copper_brushed_basecolor.png"
@@ -293,7 +293,7 @@ Entity {
rotationY: -90
}
- TexturedMetalRoughMaterial {
+ MetalRoughMaterial {
id: matSphere5Material
baseColor: TextureLoader {
source: "assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png"