Announcement

Collapse
No announcement yet.

Changing materials based on the position relative to another object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Changing materials based on the position relative to another object

    Hello everyone,
    I'm new to UE4 and I already know that I'll be frequent visitor of this forum

    I'm looking for the best way to change the opacity(or color) of the material, but only on the part of the model - that part which is near the another object. Here is some illustration of the problem:
    Click image for larger version

Name:	example.jpg
Views:	1
Size:	159.6 KB
ID:	1136552

    My actual idea is to override vertex colors based on character position(relative to another object) and use it in material editor to create for example opacity mask. Is this a good idea? Maybe you know some better solution to achieve such effect?

    I'll be thankful for all advices!

    Regards,
    Wojciech
Working...
X