diff options
author | Määttä Antti <antti.maatta@qt.io> | 2017-10-18 13:45:49 +0300 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-10-19 14:37:38 +0000 |
commit | 44330f2e5729f7da43b8394a3232f6c99458805f (patch) | |
tree | e639269c348089ec889c00455c0d59c39ef247cc /examples | |
parent | fb18ee8f05ff36f517ef2248539fda8a79c33f0e (diff) |
Fix scene2d logo color
Swap ambient and diffuse colors in the logo material.
Task-number: QTBUG-63821
Change-Id: Ieecd08ac3845d6864f1da84817bae63685a37612
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qt3d/scene2d/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/scene2d/main.qml b/examples/qt3d/scene2d/main.qml index 35b8f3eb6..ceaac3b34 100644 --- a/examples/qt3d/scene2d/main.qml +++ b/examples/qt3d/scene2d/main.qml @@ -97,10 +97,10 @@ Entity { PhongMaterial { id: logoMaterial - ambient: Qt.rgba( logoControls.colorR/255, + diffuse: Qt.rgba( logoControls.colorR/255, logoControls.colorG/255, logoControls.colorB/255, 1.0 ) - diffuse: Qt.rgba( 0.1, 0.1, 0.1, 0.5 ) + ambient: Qt.rgba( 0.1, 0.1, 0.1, 1.0 ) shininess: logoControls.shininess } |