Does anyone know how to make a HDR cubemap vmt?

I have a lot of models with custom cubemaps, but they don’t work on HDR maps because they’re not HDR cubemaps. I know it’s possible because valve has some vmt HDR cubemaps. Does anyone know how to make HDR cubemaps?