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 to make shades of grey translucent?

Hey guys, I want to make a material which can be changed by a parameter which is the percentage of how many bars should be visible. Example: I use 0.2 (20%) and only the first two bars are visible. I think you have understood what I want to achieve. You can see a prototype of it down below, but it does not work as I want it to (0.2 shows 4 or 5 bars). Please help me with that :/

alt text

Product Version: UE 4.18
screenshot-14.png (149.6 kB)
more ▼

asked Mar 22 '18 at 09:28 PM in Rendering

avatar image

52 5 9 16

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

1 answer: sort voted first

Smart implementation. The issue is probably with the calibration of the grey bars texture. I'd make the texture green to avoid any confusion as you are only using that channel, then the first bar should be green = 0, the second bar should be green = 25 (to leave a gap of 0.5), the third should be green = 50, so on and so forth.

Btw, this will only work as a user interface because of the IF node - if you put this on anything that gets rendered the greys will change based on the angle and that will break your material.

Hope this helps, Al

more ▼

answered Mar 22 '18 at 09:45 PM

avatar image

Al Ananias
247 6 10 18

avatar image MrZelektronz Mar 22 '18 at 10:17 PM

I'll try to edit it that way thanks ^^

avatar image MrZelektronz Mar 22 '18 at 10:29 PM

It is the same result: alt text

screenshot-16.png (172.7 kB)
(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