How to 2.5D projection in unreal 4 or 5?

I am trying to figure out a workflow for digital matte painting and I haven had any luck on my own research. I want to know if it is possible to link a shader to a camera for projection to create a 2.5D matte painting. any help would be really appreciated, thank you.

examples:
maya: (Maya 2019.2: 3D Matte Painting Projection - YouTube)
nuke:( How to setup a Matte Painting in Nuke - YouTube)