summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/PlanetsLight.qml
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-221-50/+3
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I8105424281eed871037fa6c463871ca8829876b5 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 2f1bc82b35209aacd8d214a3c7e8e725bee85de6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix planets-qml inner planets shadingSean Harmer2016-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | * The shadow light was using the undefined matrix property which resulted in a matrix full of NaN's in the shader. This caused everything to be fully in shadows for the inner planets. Fixed to use the correct viewMatrix property. * After fixing the above, it became clear that the inner planets were being shadowed with lots of artifacts. The only shadow casters are the planets Saturn and Uranus and their rings. In this configuration it makes no sense to try to shadow the other planets as this leads to bad shadow acne due to the huge distances involved vs the limited precision of the shadow depth texture. Fixed these artifacts by only applying shadows to Saturn and Uranus. Task-number: QTBUG-53751 Change-Id: I96ab08117c9988c40f083a1345ec7f7d1b0f7ce6 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Unify license header usage.Antti Kokko2016-01-261-19/+33
| | | | | | | | Updated license headers to use new BSD header instead of LGPL3 one (in those files which will be under BSD) Change-Id: I300c5840db3fd4708d5d85e84f7c6729cba326e5 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Avoid using the name Light in the examplesLaszlo Agocs2015-11-301-0/+65
To prevent colliding with the standard Qt 3D type. Change-Id: Ibf7b8b744dd23f1ced231e90486729be894a1be7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>