I don’t think this is possible without massive effort.
The article is referring to alpha masked… which is either on or off, not actually changing the shadow intensity based on alpha.
Yes maybe hard changes need. One solution is add second… direction light which will cast shadow only for yellow box and set directionalLight.shadow.intensity=0.1. Maybe i wrong.