This course has learned about the node of rotopaint, which is mainly used to erase unnecessary parts of the material. Among them, you should also pay attention to the use of the node Cornerpin (generating Cornerpin with location information through tracking points).
The Full Nodes:

Rotopaint:

Add shadow:

Reference resources:
https://pixabay.com/videos/minecraft-green-screen-fox-lowpoly-43551/
https://pixabay.com/videos/dance-green-screen-mindcraft-steve-46012/
http://3png.com/a-29180402.html
Tutorial:
Add shadow:
how to create shadow in nuke ( green screen) |shadow in nuke | nuke shadow tutorial