Shadows show obvious jitter when shadows are turned on
Closed this issue ยท 7 comments
Describe the bug
Shadows show obvious jitter when shadows are turned on, but there is no such phenomenon in Threejs.The same phenomenon occurred in the extruded buildings added to mapanchor.
https://user-images.githubusercontent.com/20176393/126254069-3ba96545-fc41-4b9b-bfbd-dadbfbcb281f.mp4
@datouzhan , try increasing the resolution of the shadow map.
I changed the example with the shadows to change it at run time, see: #2239
That should show you how to change it at runtime.
I set 4096.This is the perfect solution to my problem.
thanks @datouzhan
Note, a 4K shadow texture is going to eat up your memory if you are restricted
It may also be a good thing to exchange a certain amount of memory for the clarity of the scene.
@datouzhan yes! Look forward to see your final product!
@datouzhan Wow! Very cool! Thanks for sharing.