Good morning, good afternoon, good evening everyone, I developed this asset pack which allows you to isolate specific colours from a texture and use it as a mask.
The material functions do not use any "if" nodes and just arithmetic so your materials will remain performant when using these functions.
https://www.unrealengine.com/marketplace/en-US/product/81140985838d4b91af0f09d39df18826
Showcase video:
https://www.youtube.com/watch?v=msDBzRpU6eU