Description

It seems that the Material Editor's Custom nodes don't handle inputs of type FMaterialAttributes correctly, and instead interpret them as float3.

Steps to Reproduce
  1. Create a material like this, where a MaterialAttributes struct is used as the input to a Custom node:
    [Image Removed]
  2. Observe shader compilation errors and/or generated HLSL code indicating that the MaterialAttributes input is interpreted as being of type float3

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-172310 in the post.

2
Login to Vote

Backlogged
CreatedDec 8, 2022
UpdatedDec 16, 2022