Logo Skybox Panorama

Skybox Panorama

Tổ chức
SummerEngine
skybox-panorama

Generate a 360-degree sky panorama and wire it as a PanoramaSkyMaterial Sky resource on WorldEnvironment.

Tổng quan

Nhà phát hànhSummerEngine
Kho mãsummer
Tên kỹ năngskybox-panorama
Sao
91
Bản fork
8
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được SummerEngine công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skybox Panorama trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/SummerEngine/summer/tree/main/library/skills/skybox-panorama
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/skybox-panorama .claude/skills/skybox-panorama
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Skybox Panorama trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Skybox Panorama ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Skybox Panorama với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

skybox-panorama — 360° Sky for WorldEnvironment

This skill generates a single equirectangular panoramic image (2:1 aspect, e.g. 2048×1024 or 4096×2048) suitable for Summer Engine's PanoramaSkyMaterial. It wires the image into a Sky resource on a WorldEnvironment node so the sky is visible from every camera angle.

The most common failure is non-equirectangular output. Image models default to flat scenes. Without an explicit "equirectangular projection", the result looks fine as a thumbnail but distorts when wrapped onto a sphere: the horizon bows, the zenith pinches, and the sun smears. The prompt suffix and import settings below give a usable sky in one or two tries.

When to use

  • "Generate a fantasy sky for the level."
  • "I need a sci-fi nebula skybox."
  • "Make a sunset panorama for the desert scene."
  • "Stormy night sky for the haunted level."
  • The 3D scene needs a visible sky (not just a flat color background).

When NOT to use

  • The user wants a 2D parallax background → that's a separate Sprite2D job, not a panorama.
  • The user wants a HDRI for environment lighting (not just visual sky) → AI panoramas are LDR by default. For real IBL/HDR, use Polyhaven HDRIs (free CC0). Mention this to the user if lighting realism matters.
  • The user wants a 3D-modeled sky-dome with geometry (clouds-as-meshes) → out of scope; use a Sphere mesh + custom shader.
  • The scene is 2D → no sky needed.

Steps

1. Search for an existing sky

assets.search({ query: "<vibe> sky panorama", assetType: "2d_image", scope: "all" })

Polyhaven (polyhaven.com/hdris) hosts hundreds of free CC0 HDRIs. They look more realistic than generated skies and carry real HDR lighting data. Prefer Polyhaven for realistic exteriors; generate for stylized, fantasy or sci-fi skies.

2. Build the prompt — sky description + equirectangular suffix

Pattern:

<sky description>, 360 degree panoramic equirectangular projection, seamless horizontal wrap, no visible seam at left and right edges, distortion-correct for sphere mapping, no foreground objects, no ground horizon line, sky and clouds and atmosphere only

Load-bearing phrases:

  • 360 degree panoramic equirectangular projection — primes the model for the right format.
  • seamless horizontal wrap, no visible seam at left and right edges — the left and right edges of the image meet when wrapped. If they don't match, you see a vertical seam in the sky.
  • no foreground objects, no ground horizon line — skies show only sky. If you include a horizon, it warps weirdly when sphere-mapped and kills the illusion that the sky is at infinite distance.
  • distortion-correct for sphere mapping — reminds the model that the top/bottom of the image map to the zenith/nadir.

3. Generate, then fix the aspect yourself

Equirectangular MUST be 2:1 (width = 2× height). assets.generate_image has no 2:1 aspectRatio: the closest are 16:9 and 21:9. Generate at 16:9. For a larger sky, leave model out and add width: 2048, height: 1152: a model that reaches that size is picked.

assets.generate_image({
  prompt: "dramatic fantasy sky, golden hour, large purple-orange clouds, distant mountains silhouetted at very bottom, soft god-rays, 360 degree panoramic equirectangular projection, wide panoramic framing, seamless horizontal wrap, no visible seam, no foreground objects, sky only. No vertical seam, no ground objects, no horizon-level detail, not distorted or warped, no characters, no buildings.",
  model: "nano-banana-2",
  style: "realistic",
  aspectRatio: "16:9"
})

The result reports its real width and height. Then one of these has to happen before the image is usable as a panorama:

  • Crop the 16:9 result to 2:1 by trimming the top and bottom (about 11% of the height) before importing. The width stays whole, so the horizontal wrap the prompt asked for survives; the zenith and nadir are the least informative regions of a sky anyway.
  • Or generate in the Summer dashboard, which offers 2:1, and bring the result back with summer_import_from_url.
  • Or use a Polyhaven HDRI, already 2:1 and better for realistic exteriors.

Do not import a 16:9 or 1:1 image as a PanoramaSkyMaterial panorama and call it done — it wraps with obvious horizontal compression. Never crop the sides: that breaks the seamless wrap.

4. Verify the seam and projection

Before wiring, inspect:

  • Left edge ↔ right edge: mentally place them side-by-side. They should match continuously. If there's a cloud cut in half on the left and a different cloud on the right, regenerate with stronger emphasis on seamless horizontal wrap.
  • Top stretching: the top 10% of the image stretches enormously when mapped to the zenith. If there are tight features (a sun, a cloud edge) high up, they'll smear. Generations with diffuse, soft top regions wrap better than crisp ones.
  • Bottom: same applies to the nadir. Most skies don't show much bottom anyway since the camera sits below the horizon — but avoid generating tight features at the very bottom.

If the image fails seam check, regenerate. Some models support seed for variation while keeping prompt — bump the seed.

5. Import to project

summer_import_from_url(url="<fileUrl>", path="res://art/sky/fantasy_sunset.png")

In the import dock:

  • Repeat: Disabled (panoramas don't tile — they wrap once via the material).
  • Filter: Linear with mipmaps (smoother as the camera turns).
  • Mipmaps: Enabled.
  • Compress: VRAM Compressed for ship.

6. Wire into WorldEnvironment

summer_set_resource_property reaches exactly one level into a resource — it takes scenePath, nodePath, resourceProperty, subProperty, value, and there is no "a:b:c" colon-path form for walking Environment → Sky → SkyMaterial. Write the Environment (with its Sky and PanoramaSkyMaterial as sub-resources) as a .tres, then attach it in one property set:

summer_write_file(
  path="res://environments/fantasy_sunset.tres",
  content="<Environment .tres: background_mode = 2 (BG_SKY), sky = Sky with a PanoramaSkyMaterial whose panorama is res://art/sky/fantasy_sunset.png, ambient_light_source = 3 (AMBIENT_SOURCE_SKY) if you want IBL>",
  create_only=true
)

summer_add_node(scenePath="res://main.tscn", parent=".", type="WorldEnvironment", name="WorldEnvironment")
summer_set_prop(scenePath="res://main.tscn", path="./WorldEnvironment", key="environment", value="res://environments/fantasy_sunset.tres")
summer_save_scene(scenePath="res://main.tscn")

Every scene-mutating tool takes an explicit scenePath; node paths are relative to that scene's root (./), not absolute /root/... runtime paths.

Note: AI-generated panoramas are LDR (8-bit per channel). For physically-correct IBL with bright suns, the lighting is muted compared to true HDRI. Mention this to the user if they expect strong IBL.

7. Verify in scene

summer_inspect_node(path="WorldEnvironment")

Then summer_play and look around. Sun in the right place? Seam invisible? Top/bottom okay?

Prompt patterns

GoalPrompt that worksWhy
Fantasy sunsetdramatic fantasy sky at golden hour, large purple and orange clouds, soft god-rays, distant mountain silhouettes at very bottom only, 360 degree panoramic equirectangular projection, seamless horizontal wrap, no visible seam, no foreground, sky onlySoft top, distant horizon = clean wrap
Sci-fi space nebulavast space nebula, deep blue and magenta gas clouds, scattered bright stars, distant galaxy disc, 360 degree panoramic equirectangular projection, seamless horizontal wrap, no visible seam, no foreground objects, no groundSpace skies wrap easily; no horizon issues
Stormy nightdark stormy night sky, heavy rolling clouds, distant lightning flashes, full moon partly obscured, 360 degree panoramic equirectangular, seamless wrap, no foregroundDiffuse cloud structure tolerates wrapping well
Clear blue daybright clear blue sky with scattered cumulus clouds, midday sun upper left, 360 degree panoramic equirectangular projection, seamless horizontal wrap, no visible seam, no groundTight sun feature warps; place sun off-center
Alien planet skyalien planet sky, two suns one large red one small white, swirling green-purple atmosphere, distant ringed planet at horizon, 360 panoramic equirectangular, seamless wrap, no foregroundMulti-sun setups wrap if features stay diffuse
Underwater (caustic dome)underwater scene seen from below, sun rays piercing water surface, deep blue gradient downward to black, 360 panoramic equirectangular, seamless wrapTreat ocean surface as the "sky"; works for underwater levels
Stylized painterly skyStudio Ghibli painterly sky, soft cumulus clouds at sunset, warm pastel palette, 360 panoramic equirectangular, seamless wrap, no foreground (style: "none")Style preset would fight painterly

Bad prompts (and why)

BadFailure mode
beautiful skyNo equirectangular suffix. Returns flat 16:9 photograph. Wrap looks broken.
sky with mountains and trees and a castleForeground objects. Horizon-level details warp catastrophically when sphere-mapped.
360 sky (without 2:1 aspect)Aspect mismatch. Wrap is misaligned.
panoramic sky in 4k"4k" implies 3840×2160 (16:9), not 2:1. Specify aspect.
sky with the sun in the center topSun at zenith stretches into a smear. Place sun off-axis.

Anti-patterns

  • Including foreground or horizon. Mountains, trees, buildings at horizon level warp weirdly when sphere-mapped (the "swimming horizon" effect). Skies show ONLY sky. If the level needs distant mountains, model them as low-poly meshes in the scene, not in the sky texture.
  • Assuming the image is 2:1. aspectRatio has no 2:1 value; read the returned width and height. A 1:1 or 16:9 panorama wrapped equirectangular has obvious horizontal compression. Crop the top and bottom, or generate in the dashboard where 2:1 exists.
  • Tight features at zenith/nadir. Anything in the top or bottom 10% of the image gets pinched. Bias toward soft, diffuse features there.
  • Expecting HDR / IBL quality. AI panoramas are 8-bit. If the user needs realistic environment lighting from the sky, point them at Polyhaven HDRIs (CC0). AI is for visual sky, not for lighting.
  • Forgetting Repeat: Disabled on import. Panoramas wrap once via the material; if Repeat is on, you can get duplicate-tile artifacts at the seam.

Edge cases

  • Animated sky (clouds drift). AI gives one frame. Animate via shader (UV scroll on the panorama texture) or layer two panoramas with ProceduralSkyMaterial for the base + a transparent cloud layer.
  • Day/night cycle. Generate two panoramas (day + night). Cross-fade the sky_material via shader blend or by swapping panorama over a tween. Two LDR panoramas + a blend = serviceable cycle.
  • First-person VR. AI panoramas at 2048×1024 are too low-res for VR (visible pixels). Generate at 4096×2048 if the model supports it; otherwise use Polyhaven HDRIs at 8K.
  • Indoor scene. Skyboxes are wasted indoors — use BG_COLOR or a flat black background. Don't generate a sky for a windowless dungeon.
  • Visible vertical seam after generation. Fix in Photoshop/GIMP: Filter → Other → Offset by 50% horizontally → the seam moves to the center → heal with content-aware fill or clone stamp → offset back to 0. Or regenerate with seed bump and seamless horizontal wrap, no visible seam at left and right edges repeated twice in the prompt.

Without Summer Engine

In a session without Summer Engine tools (the assets profile; the summer-assets skill has the whole loop), do steps 1-4 and skip steps 5-7 (import, WorldEnvironment, scene check). Pass out with the person's folder so the image lands there (the summer-assets skill says how). Tell them it is a 2:1 equirectangular panorama, the shape most engines take for a sky.

Fallback (no MCP)

Print the call:

assets.generate_image({
  prompt: "<sky> 360 degree panoramic equirectangular projection, seamless horizontal wrap, no visible seam, no foreground objects, sky only",
  model: "nano-banana-2",
  style: "realistic",
  aspectRatio: "16:9"
})

The dashboard is the better surface for this skill: it offers 2:1 and a real negative prompt, which the asset operations do not. Tell the user to set 2:1 and a negative of vertical seam, foreground, distorted, warped, characters, buildings, then summer_import_from_url to res://art/sky/<name>.png, set Repeat: Disabled, and wire the WorldEnvironment.

If MCP is offline entirely: Polyhaven (polyhaven.com/hdris) has hundreds of free CC0 HDRIs ready to drop into PanoramaSkyMaterial, and often the better choice for realistic exteriors.

Handoff

After the sky is wired:

  • Add atmospheric fog matching the sky's mood → scene-composition (fog is on the same Environment resource).
  • Add a directional DirectionalLight3D matching the sun position in the panorama → 3d-lighting for sun + shadows.
  • Day/night cycle → re-invoke this skill for the night sky, then write a small tween between the two panorama properties.
  • Tileable ground texture for the level floor → tileable-texture.

See also

  • 3d-lighting — sun, ambient, fog wired alongside the sky.
  • tileable-texture — ground/floor counterpart.
  • scene-composition — WorldEnvironment placement and configuration.
  • asset-strategy — meta-router.
  • summer_docs_read id reference/mcp-tools-reference — how to call assets.generate_image.

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
assets.generate_image, summer_assets_generate_imagesummer assets generate-image
summer_assets_searchsummer assets search
summer_docs_readsummer docs read
summer_add_nodesummer engine add-node
summer_import_from_urlsummer engine import-from-url
summer_inspect_nodesummer engine inspect-node
summer_playsummer engine play
summer_save_scenesummer engine save-scene
summer_set_propsummer engine set-prop
summer_set_resource_propertysummer engine set-resource-property
summer_write_filesummer engine write-file

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Skybox Panorama làm được gì?

Generate a 360-degree sky panorama and wire it as a PanoramaSkyMaterial Sky resource on WorldEnvironment.

Vì sao nên dùng Skybox Panorama trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Skybox Panorama là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Skybox Panorama trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/SummerEngine/summer/tree/main/library/skills/skybox-panorama. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Skybox Panorama?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Skybox Panorama với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Skybox Panorama với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Skybox Panorama có miễn phí không?

Có. Kỹ năng này được SummerEngine phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇