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"

How can I make a moving opacity mask (not a sphere)?

Hi, I have a material that I would like to gradually mask the opacity from top to bottom. Following a short tutorial by one of Epic's a technical artists I have discovered the awesome 'SphereMask' which, with some fiddling, I am now able to edit it's radius, hardness and world position.

This is very close to what I'm looking for, except I need a square/cube version so that the opacity mask is a flat straight line as a posed to a rounded edge. After searching high and low I cannot find a substitute that I can control the world position of... is there one? or can someone offer a better suggestion?

Essentially what I'm trying to do is; as the player loses health, the health bar is gradually opacity masked until it is all gone (revealing the base UI behind the sprite).

This is how my current material looks: alt text

Product Version: Not Selected
Tags:
more ▼

asked Sep 26 '14 at 12:29 PM in Using UE4

avatar image

Bakla Firoz
26 4 6 6

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

1 answer: sort voted first

loud trumpets

Huzzar! I have managed to implement the following system to achieve the exact result needed:

alt text

Now I just need to work out how to reference the value (currently 0.4) in my blueprint :)

more ▼

answered Sep 26 '14 at 01:10 PM

avatar image

Bakla Firoz
26 4 6 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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