3dstreet icon indicating copy to clipboard operation
3dstreet copied to clipboard

shadow map does not cover entire scene

Open kfarr opened this issue 1 year ago β€’ 1 comments

not urgent but comes up from time to time

image https://3dstreet.app/#/scenes/224d2558-1b35-4a7a-bd37-8bc1c2c4dfe9.json

kfarr avatar Dec 27 '23 18:12 kfarr

this happens because the scope of light.shadow.camera (top/bottom/left/right) does not cover the entire scene. We can make automatically resizing the shadow camera according to the size of the scene or just do these values very big for maximum scene size

Algorush avatar Dec 28 '23 17:12 Algorush