You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with shadows cast by entities on terrain in CesiumJS. Specifically, when a part of an entity is occluded by the terrain, the shadow from that part is still visible, even though it should be hidden by the terrain.
What happened?
There is an issue with shadows cast by entities on terrain in CesiumJS. Specifically, when a part of an entity is occluded by the terrain, the shadow from that part is still visible, even though it should be hidden by the terrain.
Reproduction steps
Open the Sandcastle example
Rotate the view such that the camera looks upward from the bottom to the top of the mountain.
Observe that the shadow cast by the lower part of the entity (e.g. a tower) is visible through the terrain, even though it should be occluded.
Expected Behavior
The terrain should occlude shadows properly. Shadows cast by the lower parts of entities should not appear through the terrain.
Sandcastle example
https://sandcastle.cesium.com/#c=rVbbbts4EP0VwvtiIwltOb6olpPdxHGBFG4L1EaD7mpR0BJtE6VIQ6Ry2a3/vSNeZDlxWiywehKHhzNzDoccJlIoje4ZfaA5ukCCPqAJVazI8Gdja8aNxIwnUmjCBM3jxin6NxYIMbGS1/JxhFaEK3pamhTlNNFMiluRsoRomR/MbkgqH9QI6bywFk3zHJzO/YQLbcfvZUrxp+lkevt5+vXjh9kX50QWPL0SLCOavnRV+VjYMV7lMruTOU+dodkC+K4VxSIWiSFv03pPtsDfCoErE8Cqf5yRR5YV2Q1TmoiEAjzowIc7B6gVSZlYTwVZcpoCxvCPULuNYGFpdAGRBcbCx0yooHjN5ZLiJUm+vSUJnRScA6bychSc0q3eLKjSV2vgp7QjCotKcfZrEi6Tbzgp8pwKvWBZScCJ9a7gjIgbUNTodatkOOgEsPfdTrd3FgRn3cGi0x11u6Pg/M+40XruNCu4ZlvOTA0FRpC9vg9Spgtp68utggSYZlRhkqZNU0yCZLCbceMOwMigoc7KiQ1l640eIZDZjDOoCj6yFYhQkbNyFcbtOcm2nAIF0jYQ1b7zcc3fV/MLki2d41o9viy76Yer69n0xgB3+4LxlIA0KctcASWTyfSe5rADVV5cijXTRQqcAtwPhsF5dxCGLi6HtXaug3th2At7vTeDnpv0fMNh/xwHw7ALk+GbfuCmU1P13V5/2O8M8aDbCXv9fZYmSU41YpFP1Ut9RPx7wguqXiBnVKz1BvAVkBuLcb4qhDngcNT1zKnQ9HK0LH2vkZMAPHkAroxRDejkOMA5Ww1mhamDrMWkhdBK5qjJYLoTIYbGz9hE6OSEtfzu1Pg+1Xj+xf6OLMBO4a1UzJCtDsqE5Br+iDg3B+UTHGEiVNOuqm37aWVxRCqDo3HiY9ixm26Z+LuS0e41td8623PVc6qLXKBqSbOie3SrbKToSKCpSaxp83NO/ou6NTnhIoWLbn97GW6VvG7S3VLI16fO4faj6fRge55ez7QS5CDjn8pxSPFQiljMiUgTojSn5f20kOs1p9eF1hAibri0XMsqm6FpQbVAyYaW+R8cBhvJLQJODmMT+v3IBTS5mi9M07OQY3fUze3cXFLR/17+iXsUqILwagOwuVbR9+9+vJSPtRGFTrVVkqXOh13tOqmqvDgJfC24e/VnigMwbvietpe9XjAHrwh0cXHxixv9tb161ePhfh3fMRfAQ371mIn8pe07y7FTqrBrLCVoX7dVRy3NjdPGWOknTi996D9YtpW5hubIm9AZNYXOCG1DtZcFkNA4UaoVefBvWkq+JDnC9p13tjS6e0FMz2EKHDyN0LJs9tXKnf0Zt+vRxym7Ryy9OPJsRAknSsHMCl41c/YPjRuX4zbgXyzl0jyNPgJ3iFvCNsHlzBoxxuM2DI+vdGSeef4B
Environment
Browser: Any
CesiumJS Version: 1.124
Operating System: Any
The text was updated successfully, but these errors were encountered: