Pls, help me. How to project background to the plane? (Shadow catcher/matte shadows material.)

Hello.


Please help to understand. How did the author of the video do this? He projected a background image onto the plane so he created something like a shadow catcher, but i dont know how. Pls help me find out.

The author said:
“i use screen space to project a texture to the ground so it can catch the shadow. then merge it with the original video.
tips: in the shader u can use a sphere mask to make the ground edge translucent. so it will blend with the video very well.
about the reflection shader. i set the diffuse color pure black and add reflection with a little roughness.
in composure. just merge this reflection layer with background image with “add” or “screen” function.”
“in Composure. all the layer function is just a material. u can do whatever u like in the material.
u can RMB in the material. in “Composure” label. u can find some material function that UE4 have been done for u.(something like “over” “premult” “in”)
. u can use this simple function or do it by yourself.
for example like “add” mode. just add the RGB together of two layers then connect the result to the “Emissive Color”. the alpha is very important. for me i just use the Background’s Alpha.
the screen space is just the viewportUV. use this uv to instead of the poly’s uv to project the texture.
u can find this node in Material. (if i remember correctly i called “ScreenPosition”)”

To do so, you would have to make a screenspace expression connect with your CG element, that would allow your media content project onto the objects. I have attached a sample for reference. I hope this helps.

This video was released back in 2017, I think the content in the sample project may have been changed, so it's not 1 to 1 to follow along with the video. You can also find the composure framework sample project in the marketplace to see how Epic did the magic.

Overall it’s fairly straight forward once you see the file and poke around with it. Good luck!

Cliu10, looks your setup doesnt work. the screen is white, or i make smth wrong.
I made a scene, places there objects. made levels. a plane with shadow i took to lavel shadows, a object who drops a shadow i put to level foreground, and i made a video layer.
can you write in details what to do with tis setup t make it work?

Cliu10, looks your setup doesnt work. the screen is white, or i make smth wrong.
I made a scene, places there objects. made levels. a plane with shadow i took to lavel shadows, a object who drops a shadow i put to level foreground, and i made a video layer.
can you write in details what to do with tis setup t make it work?