How to use Game Properties in GLSL?

You can simply read the game property in the glsl filter as “uniform” variable.
Example:

There the number keys 1,2,3,4 sets the mist type and mousewheel changes amount