|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|