set individual pixels in texture data