added experimental support for uniform variables, not only arrays. makes applications slower