Lights with face mask textures
hi,
is possible to read the information of the lights in your real room to adapt the lights in the face mask.
When i try to do some filter the texture in the face mask becomes very bright. I think the problem is the face mask lights are diferent from the device camera texture. How can i equal the texture in the face mask with the lights in the camera. When i try the filter inj the video examples works very god but when i change to real webcam the textures are weird and bright.
Is posible to adapt the texture to the real lights in the room .
thanks
Noelia
Pd:I love lens studio. Nice software to my creativeness
hi Noelia Caminal
can you share a screenshot how the project looks in preview panel and in real world
Hi Noelia,
Glad you're liking Lens Studio! This sounds like a pretty cool Lens idea. One way is to use a custom graph material https://lensstudio.snapchat.com/guides/material-editor/welcome-to-material-editor to pass in the camera texture to the material and then using it to augment the color of the mask.
Let me know if you need any clarification!
Thanks,
Jonathan
Hi!
I know this thread is old but I was trying to achieve the same thing as the OP (face mask with correct environment lighting) and, well, failed.
Jonathan if you're still there, would you mind sharing a picture of the graph you're talking about? I've tried doing what you're suggesting but failed...
Please help if you can!
Thanks!!
Pyer
Hi Pierre!
We actually added a Dynamic Envmap checkbox to lighting recently!
Try it out, and let us know how it goes :)
Cheers,
Jonathan
Thanks Jonathan, this looks exactly like what I need!
But it's weird, lights don't seem to have any effects on Face Masks. Wether I activate or deactivate them the result is the same (the face does not inherit the bluish tone of the room lighting):
Any ideas?
And sorry if the question is stupid, I'm really new at this :)
Thanks again!
Anyone?
Hi Pierre!
The default Face Mask material indeed doesn't accept lighting. What you'll want to do is create a new PBR material, then lighting should affect the face mask!
https://lensstudio.snapchat.com/guides/3d/materials/
Cheers,
Jonathan
That was it!!!!
Thanks Jonathan!!!