summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/lights/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/lights/main.qml')
-rw-r--r--examples/qt3d/lights/main.qml11
1 files changed, 9 insertions, 2 deletions
diff --git a/examples/qt3d/lights/main.qml b/examples/qt3d/lights/main.qml
index c676335c4..38a283d37 100644
--- a/examples/qt3d/lights/main.qml
+++ b/examples/qt3d/lights/main.qml
@@ -183,8 +183,15 @@ Entity
material: NormalDiffuseMapMaterial {
ambient: Qt.rgba( 0.2, 0.2, 0.2, 1.0 )
- diffuse: TextureLoader { source: "assets/textures/pattern_09/diffuse.webp" }
- normal: TextureLoader { source: "assets/textures/pattern_09/normal.webp" }
+ diffuse: TextureLoader {
+ source: "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png"
+ format: Texture.SRGB8_Alpha8
+ generateMipMaps: true
+ }
+ normal: TextureLoader {
+ source: "assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png"
+ generateMipMaps: true
+ }
textureScale: 10
shininess: 10
}