Added cube map texture support