added textured test and fixed issues with setting samplers