Setting a custom edge detection texture
👋 Hey Lens Creator Community!
I'm working on a lens and I'm interested in utilizing the Edge Detection post effect. The problem is I want to design a custom texture to be displayed on the detected edges, instead of a solid color.
I'm thinking the best way to do this would be to have the desired texture behind the edge detection plane, and have detected edge act as a mask to see the image behind it.Â
Could someone walk me through how to do this, if it's possible? Let me know if you need any further context! 😊
Thanks in advance!
Devin Baeten · Lens Creator · Subscribe
This is actually pretty easy to do since it's a graph material. Add edge detection to your lens then edge detection should show up in the resources section. Open it up and you can edit anything in it. I believe in your case you want to change the node from color parameter to a Texture parameter
Oh that's so cool! I never knew you could modify things like this. In fact I didn't know there was a material editor panel. haha!
Thanks for showing me!!