sample-three-dimensional: add a texture to cube