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"

Mix "Masked Material" and "Translucent Material"

I have a question.
If I can make a material that mix "Masked" and "Translucent"?
For example: If the Alpha is higher than "Opacity Mask Clip Value" then the part of the material is "Masked", So that the deepth or Light will be much better. Otherwise is "Translucent" ,so the edge of Material will be more soft. For example:
alt text
The more useful place is: Hair can use it to provide soft edges. It may look better.

And, I know it may can't be done with Material Editor. But what about HLSL? Or edit .usf directly?

Product Version: UE 4.19
Tags:
0.jpg (13.9 kB)
more ▼

asked Jun 08 '18 at 05:48 AM in Rendering

avatar image

Jack Myth
134 10 14 23

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

The answer to the question is No

more ▼

answered Jun 08 '18 at 08:54 PM

avatar image

Umberto
171 8 9 15

avatar image Jack Myth Jun 08 '18 at 11:58 PM

This request must can be done. because my friend has done it in unity. Can UE4 edit shader directly?

(comments are locked)
10|2000 characters needed characters left

Split mesh into two sections with different materials, or use only translucent.

more ▼

answered Jun 08 '18 at 11:18 AM

avatar image

Deathrey
7.8k 130 30 292

avatar image Jack Myth Jun 08 '18 at 12:11 PM

Both solutions are not good.
The split mesh is hard to create. and it's opacity cannot be changed at runtime. The Translucent Material have many problems, such as Depth error, and sometimes the Translucent Material which totally Opacity can still be seen through, These are why I want to mix them up.

(comments are locked)
10|2000 characters needed characters left
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