Skip to content

Why do small objects not cast shadows? #18716

Answered by francisdb
francisdb asked this question in Q&A
Discussion options

You must be logged in to vote

Somewhat answering my own question after some research:

  • Setting PointLight shadow_depth_bias: 0.01 or lower fixed the disappearing part. I'm not sure why and if that comes with other implications.
  • Bringing the light closer to the objects will make the shadows crisper (and harder).

Other things I tried

Increasing the PointLightShadowMap makes the shadows a bit sharper but this might be expensive.

The camera ShadowFilteringMethod Gaussian or Temporal improves the look of the shadow.

I tried playing with the CascadeShadowConfigBuilder values but did not see any difference, probably because the distance from the light to the objects is not varying that much.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@francisdb
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by francisdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants