Yes, that's quite possible. bmap_to_cubemap copies the texture with D3DXLoadSurfaceFromSurface(). I suppose the mipmaps are lost. You have to generate new mipmaps for the cubemap.