I'm working on a detail material function and I'm getting these two errors. I didn't get them when I was using the texture parameter. But I needed to have the function more flexible to have multiple map inputs. But now it broke down and I have no idea why.
You are trying to use vector 3 in a lerp alpha and also vec3 and scalar in roughness. Image attached. For some reason it doesn't display. Edit - nvm, solved..