I'm having some issues with setting up the compositing on a camera tracked scene.
Here is the scene:
In the background layer i have a wall that my charactor will cast a shadow on, (circled in red), but as you can see in the above image, the camera then moves behind the wall.
The problem now occurs:
as you can see, the wall casts a shadow on its self causing an unwanted artifact in the render.
I am using (pretty much) the default "setup tracking scene" node layout
I have tried playing around with the ray visibility, but havnt had any success.
Thanks for answers in advance