How to use Game Properties in GLSL?

I want to use my own game properties in shaders, specifically 2D filters. How can this be accomplished, and can anyone please show me how this can be done.

As for UPBGE 0.4 (future macOS release) someone should later be able to show me how to do it in Metal.

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

So, “uniform float time” reads from a Timer property? If so, cool. This would be applicable to Metal as well. Metal is similar to c++ apparently.

yes, if the Property name is “time”