I’m trying to create an effect where if you point a handheld camera (SceneCapture2D) at an object it reveals certain properties in the material if its in frame.
Some constraints of my current project
- Forward Renderer
- No Post Processing
- Unlit material
- Don’t need account for distance and back faces. As long as its in frame its fine.
Can anyone help me understand the math or reference any material function nodes in Unreal to achieve this effect and how I could match it to the frame of my scene capture component?