Hi, I found this code for a material function in a Setting Up A Chroma Key Material in UE4 by Ryan Brucks.
Its a material function
{
float Luma = dot(Color, 1);
float ColorMask = exp(-Luma * 2 * PI / LumaMask);
Color = lerp( Color, Luma, ColorMask);
return Color / (dot(Color, 2));
}
How would you set the same function up with a blueprint material function.
Best regards, Fredrik