[UMG] How to find correct TexelSize for RetainerBox material?
I'm trying to make a material that will produce an outline around a text placed in a Retainer Box. I use the same approach as described here. This approach uses the texel size. In the case of a RetainerBox, it seems the TexelSize and ViewSize always refer to the size of the whole viewport and not the size of the RetainerBox widget. For example, in a 1920x1080 window the ViewSize is always 1920x1080, totally independent of the size of the RetainerBox widget. As a result the outline is deformed, like in the attached picture.
Is there any way to find the correct TexelSize or the size of the widget in the material?
asked Oct 01 '16 at 02:45 PM in Rendering
Follow this question
Once you sign in you will be able to subscribe for any updates here