Agent skill Web motion
3D Sky Background
Use spatial graphics, scenes or materials to support a web experience.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-sky-background --skill 3d-sky-background --agent claude-code --yesCheck this file in your project.claude/skills/3d-sky-background/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/MengTo/Skills/tree/main/agent-skills/3d/3d-sky-background --skill 3d-sky-backgroundSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A 3D scene and either an authorized equirectangular texture or a planned procedural sky.
View operation manualWhat this skill helps with
- Use spatial graphics, scenes or materials to support a web experience.
Good for
- 3D on the web
- Publisher
- Meng To
- Control points
- equirectangular sky · sun direction · PMREM environment
- Verification target
- Full orbit shows a continuous horizon and a missing panorama retains a useful sky.
- Skill name
3d-sky-background- Repository
MengTo/Skills
Common pitfall
Avoid this prompt
Stretch a landscape photograph around the scene and use it as the only light.
A partial image can stretch or repeat, and the visible background alone does not produce directional shadows.
Use these steps
- Inspect inputs and rendering context
- Apply the documented technique
- Verify on the actual project route
Project walkthrough
Align an original sky, environment reflections, and the sun over a full camera orbit.
Align an original sky, environment reflections, and the sun over a full camera orbit.
Inspect inputs and rendering context
Inspect inputs and rendering context
Prompt · Step 1Use 3D Sky Background on [original hill scene]. Record the current camera range, sky representation, reflection environment, color conversion, and sun direction. Confirm whether the supplied texture actually covers 360°×180°.Apply the documented technique
Apply the documented technique
Prompt · Step 2Start with a procedural gradient and let the licensed panorama load separately. Align the visible sun, light, and ray direction; preserve world orientation through camera rotation and remove positional parallax. Keep any PMREM environment updates separate from the visible sky and reuse the generated targets.Verify on the actual project route
Full orbit shows a continuous horizon and a missing panorama retains a useful sky.
- Full orbit shows a continuous horizon and a missing panorama retains a useful sky.
Prompt · Step 3Orbit fully, tilt upward, and translate the camera. Inspect the panorama seam, zenith, horizon, and reflected sun. Block the panorama request to confirm a coherent gradient fallback and check that day-to-dusk changes do not rebuild PMREM each frame.
Implementation lookup
Check these values in your existing project and its installed dependencies.
Find the documented controlsInputs
- Command or reference
equirectangular sky · sun direction · PMREM environment- Examples
- Full orbit shows a continuous horizon and a missing panorama retains a useful sky.
FAQ
What should I open after installing?
Open SKILL.md and REFERENCES.md in the installed skill directory. Apply the technique to your own scene or component and verify the specified result on that route.
How do I show the result is ready?
Full orbit shows a continuous horizon and a missing panorama retains a useful sky.