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"

'FInterp' or equivalent in Material Editor?

Hey all,

I want to make a cheap 'blob' physics object that expands as it approaches a surface to appear that it is sticking to a surface. I will have a large amount of these assets, so using line traces or anything like that wont work. Also, it has to be an opaque object, so 'depth fade' won't work either.

What I landed on was using mesh distance fields 'Distance to Nearest Surface' node and multiplying the value against Vertex Normal WS and plugging that into world position offset. It works as intended when placed but as soon as you push it around, the vertex offset is immediate and almost 'pops' to the correct vert offsets (as well as some small 'glitching', probably because the mesh distance fields is inaccurate).

I was wondering if I could 'smooth' the transition, similar to grabbing a value in a regular blueprint and putting it through an Finterp. Is this something that is possible in a material editor?

Product Version: UE 4.20
Tags:
more ▼

asked Dec 17 '18 at 11:06 PM in Blueprint Scripting

avatar image

StevenWaltherMedia
15 6 5 10

(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