You can use this material to filter changes in lighting on the CG scene and the result will be your CG Object + Shadows/Lighting
(Note: the middle Texture Sample needs to be the scene while being affected by the CG object.)
Sadly that’s the best I can do for you right now, since I have a ton of work in front of me myself, sorry. (I had this material from an older project)