From partme-ai-full-stack-skills
Configures three.js Scene graph roots with linear Fog, FogExp2, backgrounds (solid colors/textures), and environment setups. Use for world containers, atmospheric fog, skyboxes; ties to loaders/textures/renderers.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill uses the workspace's default tool permissions.
**ALWAYS use this skill when the user mentions:**
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
ALWAYS use this skill when the user mentions:
Scene as root, scene.background, environment or skyball setup at scene levelFog or FogExp2 parameters (near, far, color, density) and interaction with camera far planeIMPORTANT: scenes vs textures vs loaders
| Concern | Skill |
|---|---|
| Scene + fog API | threejs-scenes |
| Texture sampling, PMREM generator usage | threejs-textures |
| Fetching HDR/glTF | threejs-loaders |
Trigger phrases include:
Scene and add lights/meshes/cameras as children per graph rules (threejs-objects).Fog vs exponential FogExp2 for outdoor/horizon feel.near/far alongside camera far to avoid clipping artifacts.scene.background to Color, Texture, or cube map per docs; env lighting still needs matching renderer/material settings.import * as THREE from 'three';
const scene = new THREE.Scene();
scene.background = new THREE.Color(0xa0a0a0);
// Linear fog — match color with background to hide horizon seam
scene.fog = new THREE.Fog(0xa0a0a0, 10, 50);
// Ensure camera far plane covers fog range
camera.far = 60; // slightly beyond fog far
camera.updateProjectionMatrix();
See examples/workflow-fog-background.md.
| Docs section | Representative links |
|---|---|
| Scenes | https://threejs.org/docs/Scene.html |
| Fog | https://threejs.org/docs/Fog.html |
| FogExp2 | https://threejs.org/docs/FogExp2.html |
Scene, fog types, background field semantics at API level.Fog; custom atmospheric scattering shaders beyond core fog API.far on camera with fog still needs scene scale consistency.background rotation/intensity features depend on renderer version—cite current docs.Scene, Fog, and background fields are documented under Scenes in three.js docs. Environment-related visuals often combine this skill with threejs-textures (PMREM) and threejs-loaders (HDR files) — link those pages when the user moves from “fog color” to “HDR sky”.
When answering under this skill, prefer responses that:
Scene, Fog, or FogExp2 official pages.far plane and world scale.English: scene, fog, fogexp2, background, environment, three.js
中文: 场景、雾、Fog、背景、环境、three.js