I want to add overlay images with multiply blend mode and alpha at 50%, how to achieve that?
Also how to use LUT image with liner color encoding?
thank you so much.
Hi, we have a detailed LUT tutorial here Lookup Texture(LUT) | DeepAR
As for 50% opacity on multiply, the multiply blend mode is available in the drop down, however it doesn’t alpha blend, that’s what the alpha blending is used for.
Depending on your usecase, you could premultiply your texture (bake in the alpha so to say) with 0.5 and use multiply blending, or possibly create a custom shader that multiplies the camera or render texture with the multiply texture and use alpha blending
thank you so much Jelena, can you help with color encoding thing? I saw LUT tutorial but we’re trying to recreate an Instagram filter and on Spark AR LUT is in linear color encoding but on DeepAR linear encoding is not supported for LUT I guess.
You can duplicate and change the shader if you need to.
You would likely also need to edit the fragement shader code to remove the toGamma call.
Have you tested with the shader as is? Are the results visibly different?

