Skip to content

shadows getting clipped on shadowMaterial #1202

Answered by drcmda
saurabhiam asked this question in Q&A
Discussion options

You must be logged in to vote

thats normal, this has to do with the light,

<directionalLight
  shadow-camera-right={10}
  shadow-camera-top={10}
  shadow-camera-left={-10}
  shadow-camera-bottom={-10}
  ... />

increase/decrease as you need it, it could also be related to the planeGeometry being too small. softlights are very expensive thought, you might get better results with contact shadows https://codesandbox.io/s/baked-ao-f5sgi or lightmaps https://codesandbox.io/s/v6-adaptive-regression-forked-wsg13 and the fastest would be to bake in blender, but that only works for static scenes.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@saurabhiam
Comment options

@drcmda
Comment options

@saurabhiam
Comment options

@drcmda
Comment options

Answer selected by saurabhiam
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