Python script to generate skybox image maps in rectangular format from equirectangular images, as well as a setup for Blender to render equirectangular image maps.
With the Blender setup, an equirectangular HDRI can be rendered from a 3D environment, like the following:
![](https://victorgiers.com/wp/vg/wp-content/uploads/2021/06/hotel_room.png)
.. to then convert this into a cubemap with the Python script…
![](https://victorgiers.com/wp/vg/wp-content/uploads/2021/06/hotel_room_cubemap.png)
… so that this can be used in game engines like Verge3D or Goldsource.