This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
How can I increase the shadow map resolution? #2224
Answered
by
nzjony
harrycollin
asked this question in
Q&A
-
I'd like to increase the resolution of the shadows. They seem to have defaulted to 512x512 for directional lights. When I try to update this value the shadows move all over the tiles like crazy. |
Beta Was this translation helpful? Give feedback.
Answered by
nzjony
Jun 21, 2021
Replies: 2 comments 7 replies
-
Hi @harrycollin , you can change it here: I changed to 2048x2048 and it worked for me. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nzjony
-
When I do this the shadows don't seem to sync up with the map. When I move the camera the shadows slide around all over the tiles. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @harrycollin , you can change it here:
harp.gl/@here/harp-mapview/lib/ThemeHelpers.ts
Line 133 in 81f8e59
I changed to 2048x2048 and it worked for me.