ins and outs 2 Each shader can specify inputs and outputs using those keywords and wherever an output variable matches with an input variable of the next shader stage they're passed along. The vertex and fragment shader differ a bit though
Shaders & GLSL
notes + algo + examples + experiments