Skip to content

Add 3D panoramic skybox feature with 4 different skies.#1097

Open
jacke9708 wants to merge 3 commits into
117HD:masterfrom
jacke9708:feature/3d-skybox
Open

Add 3D panoramic skybox feature with 4 different skies.#1097
jacke9708 wants to merge 3 commits into
117HD:masterfrom
jacke9708:feature/3d-skybox

Conversation

@jacke9708
Copy link
Copy Markdown

Adds a manual "3D Skybox" configuration section with a dropdown selector. Uses a single equirectangular 2D texture projection.

Video.Project.1.mp4

This is my first contribution, so any feedback on style or code adjustments is welcome.

Changes

  • SkyboxTheme: Created enum to track selections and resource paths.
  • HdPluginConfig: Added configuration section and dropdown item.
  • EnvironmentManager: Exposed isOverworld().
  • ZoneRenderer: Added shader pass, camera tracking math, and overworld environment gating to disable rendering in caves/dungeons.
  • Texture Management: Cleans up old texture IDs via glDeleteTextures during real-time dropdown hot-swaps.
  • Assets: Added four CC0 4K panoramic textures from Polyhaven.
Skärmbild 2026-05-25 204131 Skärmbild 2026-05-25 204226 Skärmbild 2026-05-25 204309

@cypher112
Copy link
Copy Markdown

sick work dude

@3-X
Copy link
Copy Markdown
Contributor

3-X commented May 29, 2026

Skyboxes look really nice! Unfortunately plugins have a size limit of 10mb currently and the plugin is already about 9mb, that being said we are starting to look at possible solutions to be able to start to allow us to use larger images/textures! That may be a little while off though for full transparency

In the meantime if you'd like to pursue other ways of implementing nicer skyboxes using shaders, that would get you around the size limitation! I actually ran into the same thing when working on this pr #655 and pursued it through shaders if youd like to take a look and play around with it!

That pr should be hopefully getting merged in the somewhat near future so skyboxes are getting some love in the meantime as well while a solution is worked on for these larger files

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants