How blend an UI Image with the background? (Multiply Effect similar to Photoshop)
Hello,
I have an Image , Ui Element, with only a color. Now I want that this this Ui element will blend with my my 2D Level, to get an effect similary to the "Multiply Effect" in Photoshop.
And at the same time I want to be able change the opacity of that Ui Image element. So far i'm only having a script to change the Opacity. I would be happy if somebody could give me a hint how to give this an additional multiply effectas well.
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class darkness : MonoBehaviour {
public float opacity=0.1f;
Image image;
void Update() {
image = GetComponent<Image>();
Color imageColor = image.color;
imageColor.a = opacity;
image.color = imageColor;
}
}
Hi, I'm also looking to get this effect as well. Have you had any luck?
Your answer

Follow this Question
Related Questions
How to make my 2D character roll 0 Answers
What is the easiest way to enable 2D isometric grid-based pathfinding? 2 Answers
Weird artifacts appear on my 2D sprites. 0 Answers
Collition Coding not working 1 Answer
Can the new ParticleSystem Trigger Module access the particle's collision collider? 0 Answers