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.
Replies
Edit - nvm, solved..
Thanks, I see that was a pretty stupid question haha sorry this is my first shader I'm working on.