Added sample textures and fixed bug with sampling