Face mask in Face in Picture?
I'm trying to combine a Face Mask with a Face in Picture. I almost have it but the Face Mask seems to float behind the Face in Picture image/face and the background color/texture.The Face Mask just doesn't attach itself to the Face in Picture First Face. Is this a camera render order or setting? Any help would be greatly appreciated.
Hi, Richard Gray!
There are few steps that need to be done:
I am starting with "Face in picture template"
1. Added a Face Mask - it is rendered to Camera
2. Then create a new render target for this Camera (Add new - Render Target on a resources panel)
and set this newly created texture to be a render target of Camera:
So "Camera" renders to "Render Target New", and "Orthographic camera" renders to "Render Target".
3. Now set "Render Target New" to be input of "Render Target" . And "Device Camera Texture" to be input of "Render Target New"
4 And the last step will be to select Face Inset component and swap Device Texture with Render Target New
And here is a result :
Sorry, this looks like a lot, so here is a project
Best
Olha
No, it's not a lot! This works perfectly! Thank you so much.
This community is the best. I'm new to most of this but I hope I can contribute in the near future just as Olha has with me. Thanks again!