mirror of https://github.com/qt/qt3d.git
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>
This commit is contained in:
parent
fb18ee8f05
commit
44330f2e57
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue