here is the version 2 code for adding and updating output asset for the custom shadow map. is it possible in version 3 to add output assets through code?? and how can we do it in version 3??
let geometryAsset = {
id: 'plane_mesh',
group: 'geometry_group',
content: [
{
format:"three",
data: {
threeObject: box
}
},
{
format: "material",
data: {
version: '2.0',
transparencytexture: 'shapediver_ground_3.jpg'
}
}
]
};
window.sdApi.scene.updateAsync(geometryAsset);