Worked on 2d and cube textures.