Little bit of performance optimisation
Add 2D texture sampling