Skip to content

Instantly share code, notes, and snippets.

@AMZN-alexpete
Last active August 6, 2023 13:42
Show Gist options
  • Save AMZN-alexpete/2221260d566ffd0cbaa6b8a7a7fbdf29 to your computer and use it in GitHub Desktop.
Save AMZN-alexpete/2221260d566ffd0cbaa6b8a7a7fbdf29 to your computer and use it in GitHub Desktop.
SpaceScape Skyboxes in O3DE

Using Spacescape skyboxes in O3DE

  1. Open Spacescape, load your skybox file and turn on HDR using the Settings>Enable HDR menu option. image

  2. (Optional) disable all the star layers in your skybox if you intend to use the Stars Gem and component in spacescape.

  3. Select File>Export and select the Single DDS Cube Map type and Export For OGRE 3D SpacescapeExportSettings Choose a path inside your project.

  4. In the O3DE Editor, find your exported skybox file, right click on it and select Edit Texture Settings

  5. Change the preset to Skybox in the Texture Settings dialog that appears image

  6. Press Apply and then Close

  7. To use the skybox, add an HDRi Skybox component on an entity in your scene - or find the existing HDRi Skybox component in your scene, and set the Cubemap Texture to your skybox image. Then, adjusts the Exposure to your liking. You can also rotate the skybox by adjusting the rotation of the Transform component on the same entity as the skybox.

  8. (Optional) if you are using the Stars gem, you can add a Stars component which will draw stars on top of the skybox. Adjust the Exposure of the Stars so it blends as desired with the skybox.

Example scene with skybox, stars, atmosphere and bloom: image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment