I don't really understand how to use the inin
/ outout
keywords in GLSL, and google is being uncharacteristically unhelpful.
What exactly do they do? How would I use them if, for example, I want to pass a varying variable set per vertex to the fragment shader?
Literally every tutorial I find uses the varyingvarying
/ attributeattribute
keywords and that's not helpful.