How to change texture only inside intersection of static meshes(like vray distance texture)?


Example done years ago by someone i couldn’t recreate(i recreated material nodes in ue5 but effect didn’t appear when object is fully transparent).