added function to get texture uniform location