Hi,
You can add a light with the following code (for example):
Entity {
id: root
...
Entity {
id: lightEntity
components: [
DirectionalLight{
color: Qt.rgba(1, 1, 1, 1.0)
intensity: 0,5
enabled: true
},
Transform{
position: Qt.vector3d(5,5,5)
}
]
}
}