28-Jul-12 (Created: 28-Jul-12) | More in 'OpenGL'

what type of variables are there in GLSL?

you have the standard input and output variables. You also have some types that are unique to glsl. For example attribute variables that are specific to a vertex. There are "uniform" variables that cuts across all vertices. There are reserved variables, there are built-in variables etc. This page will throw some light on this type of variables.