Skybox Panorama 标志

Skybox Panorama

组织
SummerEngine
skybox-panorama

生成 360 度天空全景,并将其连接为 WorldEnvironment 上的 PanoramaSkyMaterial Sky 资源。

Add to TypingMind

概览

发布者SummerEngine
代码仓库summer
技能名称skybox-panorama
星标数
91
复刻数
8
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 SummerEngine 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Skybox Panorama AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/SummerEngine/summer/tree/main/library/skills/skybox-panorama
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Skybox Panorama,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Skybox Panorama。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Skybox Panorama 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Skybox Panorama AI 技能有什么作用?

生成 360 度天空全景,并将其连接为 WorldEnvironment 上的 PanoramaSkyMaterial Sky 资源。

为什么在 TypingMind 中使用 Skybox Panorama?

因为您只需安装一次,就能搭配任何模型使用。Skybox Panorama 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Skybox Panorama?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/SummerEngine/summer/tree/main/library/skills/skybox-panorama。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Skybox Panorama?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Skybox Panorama 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Skybox Panorama 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Skybox Panorama AI 技能免费吗?

是的。SummerEngine 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇