Hey @Evgeni_Popov,
One more follow up question here:
I noticed in the all the version of code, when creating rtt material, you used clone
rather than creating a new Standard Material:
const material = mesh.material ?? scene.defaultMaterial;
const materialForRTT = material.clone(material.name + "_rtt");
Just out of curiosity, is there a reason you clone it rather than creating a new material? What’s difference between cloning vs creating a new material in this context? Can I create a new material? Which approach is better?
Tawibox