Bump mapping for cubes and spheres