x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[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?

alt text

Product Version: UE 4.13
Tags:
capture.png (23.8 kB)
more ▼

asked Oct 01 '16 at 02:45 PM in Rendering

avatar image

scha
53 5 18 23

avatar image RVillani Mar 30 '17 at 08:15 PM

I need that also. Have you ever found a way without using Blueprints?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question