So… I’m facing an issue when trying to follow specifications from my Art Director.
He has build a UI Panel in Photoshop with this configuration:
I've tried to replicate this specifications in the engine. I've used a Material configured as User Interface with Modulate Blend Mode (Multiply). My problem is that the Modulate Blend Mode does not allow to apply an opacity value.
I just happened to make a flashlight effect, so here is my setup.
According to [this][1], BLEND_Modulate: Final color = Source color x Dest color.
Basically, you just need to remap your pixel from 0 - 1 to 1 - S. S is scale, started at 1.
The formula from source pixel Pa to remapped pixel Pb will be Pb=Pa*(S-1)+1
Here is my setup:
This is how it looks like in the scene. The same concept should apply to UI too.
But there’s a limitation if you overlapped multiple instances, it will look ugly.
I was looking for the solution about this and then saw your question.