<<< Fragment Shader Example | Index | Rendering Options >>> |
out and in
Used for passing data between shaders
Our C++ program has no access to these variables
Vertex shader's out variable corresponds to the fragment shader's in variable.
<<< Fragment Shader Example | Index | Rendering Options >>> |