simple texturing support
needed the hack to pass same uniform in vertex/fragment shader