Refraction node don’t work in SetMaterialAttributes.
How to reproduce:
- Create material function MF
- Make node SetMaterialAttributes with refraction node (0.5 for example)
- Create translucent material with UseMaterialAttributes
- Pin MF to Result material
- Refraction don’t applied
Probably it’s an old bug: [Bug]:Refraction in material layer doesn't work if connected via "Use Material Attributes" - Rendering - Unreal Engine Forums