flip textures correct way in shader