본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)7.2k · #13322

3d-sky-background

하는 일

이 스킬은 3D 장면용 하늘을 만드는 과정을 안내합니다. 파노라마나 절차적 하늘 중 하나를 쓸 수 있습니다. 골든 아워나 낮에서 밤으로의 변화가 있는 야외 또는 건축 장면을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓3D 야외 장면 뒤에 하늘이 필요할 때.
  • ✓태양의 방향이 하늘과 물체에 닿는 빛과 맞아야 할 때.
  • ✓장면이 낮에서 밤으로 바뀌거나 골든 아워로 들어가야 할 때.

스킬 링크

https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-sky-background/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-sky-background/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 3D 건축 장면 뒤에 따뜻한 지평선이 있는 골든 아워 하늘을 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 파노라마나 절차적 하늘을 고르고, 배경과 환경 반사를 따로 설정한 뒤, 태양광을 하늘의 태양 위치에 맞춥니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

3D Sky Background

Build a sky that surrounds the world, with a readable horizon and lighting that belongs to the same atmosphere.

Choose the representation

Inspect the project's renderer, camera range, color pipeline, environment lighting, and existing assets. Use an existing licensed panorama when its cloud composition matters, a procedural sky when changing sun position matters, or a restrained hybrid. Keep the project's rendering backend and version; do not add a second renderer for the sky.

Keep three responsibilities explicit: the visible sky background, the reflection/ambient environment, and direct sun lighting. A background photograph alone does not light PBR objects. A PMREM environment does not supply a shadow-casting directional sun. See the PMREM documentation.

Build a stable surrounding sky

  • Use the engine's background facility, a fullscreen direction shader, or an inward-facing dome with depth writes disabled and fog disabled. A dome must fit inside the camera's clipping range and follow camera translation; it should retain world orientation as the camera rotates.
  • Derive color from the normalized viewing direction. Blend a pale warm horizon through a muted middle band into a cooler zenith. Keep the lower hemisphere compatible with the ground haze rather than leaving an exposed hard edge.
  • Use a shared sun direction for the visible disk, glow, directional light, and any sky-ray pass. A broad halo and a small disk are separate terms; avoid a large white blob.
  • Add distant silhouettes only when the composition needs depth. Keep them low contrast, with a hue and value close to the horizon.

Map a panorama deliberately

A true equirectangular sky wraps a full 360° horizontally and 180° vertically. Establish a consistent world-axis convention, rotate the texture so its photographed sun matches the scene sun, and inspect both the seam and zenith.

A wide landscape photograph is a partial panorama. Record its angular coverage and horizon position; do not stretch it indiscriminately over a sphere. Seijaku aligns a partial sky image around the sun and mirrors its back coverage. That is a composition-specific shortcut; repeated cloud shapes may be visible during a full orbit. Prefer a complete panorama for unrestricted cameras.

When a custom shader wraps longitude, a discontinuity at the seam can cause bad texture derivatives and a blurred stripe. Prefer continuous sampling coordinates with texture wrapping; otherwise supply corrected gradients appropriate to the shader version. Test the seam while orbiting, not only in the initial view.

Keep color and lighting coherent

Annotate display-referred color images as sRGB and keep lighting calculations in linear space. Apply tone mapping and output conversion once at the intended final stage. Do not copy a fitted inverse tone-map function from another project: Seijaku's fit is coupled to its custom final shader and exposure. Decide explicitly whether a photograph should be tone-mapped with the scene or composited through a separate display-referred path.

Provide a procedural gradient immediately, then load the sky asset asynchronously and blend it in. An asset error should leave a usable sky. Fit texture resolution to the visible angular coverage and target display; do not gate first interaction on an oversized sky image.

Generate a prefiltered environment when needed and reuse it. During a day/night or season transition, interpolate cached environments where supported or refresh at meaningful state changes. Rebuilding PMREM every frame can dominate the scene cost. Dispose superseded environment render targets without disposing textures still in use.

Day, dusk, and night

Use continuous weights for horizon/zenith colors, sun glow, fog tint, exposure, moon, and stars. Fade stars after the sky darkens. Preserve enough ambient illumination to read materials at night. Animate cloud movement slowly, pause when hidden, and retain a designed still sky for reduced motion.

Verify

  • A full orbit and vertical look reveal no seam, stretched clouds, dome edge, or camera translation parallax.
  • Sun direction, shadows, rays, and reflections agree at the intended hero view.
  • Day/dusk/night changes avoid flashes, double tone mapping, and mismatched fog.
  • The sky remains useful before its image loads and when that image fails.
  • Mobile and 2× rendering preserve the horizon and avoid unexpected
자주 묻는 질문

하늘 그림이 물체도 비추나요?

그 자체로는 아닙니다. 배경 이미지는 물리 재질을 비추지 않으므로, 조명은 따로 설정한다고 스킬이 설명합니다.

하늘 사진을 쓸 수 있나요?

네. 구름 패턴이 중요하다면 사용 권한이 있는 기존 파노라마를 쓸 수 있다고 스킬이 설명합니다.

낮에서 밤으로의 변화를 지원하나요?

네. 스킬은 낮에서 밤으로 바뀌는 하늘 전환을 활용 예시로 나열합니다.

상세 정보

작성자의 원본 설명

Create a camera-correct sky background for a 3D scene with a procedural atmosphere or panorama, horizon haze, aligned sunlight, and coherent environment lighting. Use for architectural skies, outdoor 3D backgrounds, golden hour, and day-to-night sky transitions.

repo: MengTo/Skills

인기도

GitHub 스타
7.2k
순위
#13322
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬