How to dynamically configure Skybox with JavaScript?

@slimbuck Thanks! I think the display of the sample has been improved.

PlayCanvas + Skybox result:

I’m trying out Cubemap and IBL samples with some libraries in gltf-test.

If possible, I would like to make Cubemap/IBL samples as recommended by each library.
PlayCanvas Viewer seems to use HDR file for Cubemap/IBL, so I would like to use it, but I don’t know how to do it. I would appreciate any advice on how to use HDR files.