Applying a 2D texture