Skip to content

4 Shadow modes #5649

Answered by na9da
imakihi asked this question in Q&A
Jul 19, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @imakihi,

As described in the Cesium doc, RECEIVE_ONLY means the model can receive shadows from other models but does not cast any of its own. For the screenshot with RECEIVE_ONLY, the tileset as a whole can receive shadows from other tilesets or models, but wont cast any shadows of its own. Because there are no nearby models or tilesets to cast a shadow, it looks just like the NONE example.

Below is an example screenshot of the RECEIVE_ONLY mode in action. The tileset has RECEIVE_ONLY and the GLTF model is casting a shadow on it.

Contrast it with this one where the tileset shadow mode is NONE so it doesn't "receive" the shadow of the adjacent gltf model.

Hope that answers your quest…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@imakihi
Comment options

@meh9
Comment options

@imakihi
Comment options

Answer selected by imakihi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants