Custom Shadow map from an image

how do I add a

custom shadow map

from an


and how to access

window.sdApi.scene.getBoundingBox() in version 3


Hello @Muhammad_waleed_akht,

currently there is no way to add a custom shadow map and it is also not in our pipeline. What you can do is adding a plane that has a map with transparency applied. See here: gemstones (simple) - envMap change - CodeSandbox

Regarding the bounding box, you can call sceneTree.root.boundingBox to get the bounding box of the whole scene.

Cheers, Michael