I use Unity 2019.X with ARFoundation 4.X and plane detection and need to achieve casting/rendering light (e.g. use spotlight) on a ground plane, which should be transparent as it would represent the real world ground surface. I found online resources regarding casting shadows but nothing about this issue, except of the following which is old and is not very clear on the procedure followed:
This is actually a graphics problem that AR Foundation does not attempt to solve. It is possible to write custom shaders to accomplish an AR re-lighting effect, but it would fall to you to implement or find a plug-in to accomplish this.
Maybe you could render to texture the cam feed, then stick that texture into a special material and apply that to a large plane. Then that plane can receive shadows, but also light.
Probably will need to be something special, otherwise you’ll see the plane to begin with, and never see the cam background…
Well just my 2 cents and currents thoughts.
Now, somebody put that into practise and see if it works