I’m working on a simple scanner effect similar to Mass Effect Andromeda and also similar to this post: Scan Like Mass Effect Andromeda.
I have s simple material that works well under the “Surface Domain”, you can see left and right from the selected plane, where the stencil with a value of 255 is highlighted in blue:
However, I can’t use a plane with my character, as it is colliding with the world and doesn’t look good:
So I need to use a screen space widget. However, the UMG won’t allow me using materials from the Surface domain:
When changing my material to “User Interface” domain, I get the following result:
The transparent color fill is being shifted.
How can I make it work?
I feel like it has to do something with the UVs.
Thanks for your help!