Weighted average in average blend mode is possible
hi, i´m wondering if is posible in face mask average mode to give more weight to the mask than your actual face. When you do average mode it seems you mix the face mask with your real face. what i would like to do, through script or something other method, to give more weight to the face mask than the actual face like a control to fade in or out the mask or your face from the device camera and do a weighted average operation.
for example:
My face is A and the face mask is B. I would like to do is give more weight to B like this:
(A*2+B*9)/2. So the face mask is average but with more faccions from the face mask than the real face.
could you help me with this?
many thanks
Noelia .
Pd: Sorry for the english, not native speaker
hi Noelia Caminal
if you mean some thing like this
you can use shader material
as u see in screen
make sure to make blend mode to NORMAL
click here to download the shader
cheerz
yes, this is almot what i need. The only thing is instead of the color parameter i need with the device camera texture, but the problem is i can´t realy scale the face to the mesh. so what i need is the proyection of the device camera texture in the uv of the mesh and then i can finish what i want.
but thanks, this is one step near of my goals :).
success, if you put 0 in the color parameter you have directly the feed of the cam. many thanks