Refractions stop working when material attributes are used

Hello,

I just tried setting up a translucent material with ‘material attributes’ checked and my refraction input suddenly stopped working.

Here’s some screenshots to show what’s happening:

The only difference is the ‘material attributes’ check in the material settings.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

1 Like

this one has been reported for as long as UE4 has been around ( for example Unreal Engine Issues and Bug Tracker (UE-20973) , but was raised long before 2015). it’s a shame since the Material Attributes workflow is otherwise so handy

1 Like

After ripping my hair out, i recognized now it is still a bug in 4.21 … This needs to be fixed!

1 Like

I found a similar bug so after searching the forum I found this. I’m using 4.26 and the Refraction issue seems to be fixed when material attributes are enabled, however I’m having problems with a Static Switch Parameter.

Here is the setup I’m using. It is very similar to the problem described, however, the Refraction attribute is working:

I was testing a similar setup in another material where the Switch Parameter is used to turn on or a layer, however, when the material attributes goes through the switch is looses the refraction:

The default value for the switch is False so the refraction index was supposed to be going through.

1 Like

im having a similar issue in 5.1. I have my refraction set via material attributes in a material function wrapper, but when go at it via a material function, the refraction is lost.

1 Like

I found the solution for this … Inted using material Attributes Break the Attributes at the end … and re connect all wires

1 Like