Many thanks! Could you comment what’s the best way to achieve this for all the meshes (the trees and the rock)? Edit: I’ll answer my own question:
https://forum.babylonjs.com/t/is-there-a-shadowgenerator-getshadowmap-auto-add-all-meshes-in-scene-scene/318/2