Why does the blackboard order matter

In the Linear waves section of the shader course, it was mentioned that the input variables sequence list matters. Why?

It doesn’t matter. I think that it was mentioned to not confuse you. You start by setting Frequency, Amplitude and Speed (in that order) but when he changed from the maximised view, the order changed to Amplitude, Frequency and Speed. The formula takes (from left to right) Amplitude, then Frequency, then Speed. I can only assume that he mentioned this to prevent you from thinking the first value is Frequency when it got changed to Amplitude. He does say; “so make sure you are adjusting the right one when we play around in the inspector”. There’s a label right next to it, so I don’t know why you would confuse them. There is no reason for the blackboard order to matter, except that the order in the blackboard is also the order in the inspector.

It is entirely so they show up in the same order in the inspector that Unity generates for the shader. That’s just to prevent confusion if you see that the inspector in your material doesn’t look exactly like the inspector in Chris’s material.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms