Community编程与开发github.com

cloudai-x/threejs-lighting

Three.js 光照 - 光源类型、阴影、环境光照。在添加光源、配置阴影、设置基于图像的光照(IBL)或优化光照性能时使用。

threejs-lighting 是什么?

cloudai-x/threejs-lighting 是一个专注于 Three.js 光照系统的专业化技能,涵盖了光源类型、阴影实现和环境光照配置等核心领域。该技能适用于所有支持自定义技能的AI代理平台(如Claude Code、Cursor、Codex等),为开发者提供在Three.js场景中添加光源、配置阴影、设置基于图像的光照(IBL)以及优化光照性能的指导和最佳实践。技能遵循Three.js官方文档和社区最佳实践,通过清晰的API调用示例和配置参数说明,帮助开发者高效实现各种光照效果并保持场景性能。使用本技能时,开发者可以获得从基础点光源到高级IBL设置的完整解决方案,并了解如何权衡视觉效果与渲染性能。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cloudai-x/threejs-skills/tree/main/skills/threejs-lighting

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

threejs-lighting 是做什么的?

Three.js 光照 - 光源类型、阴影、环境光照。在添加光源、配置阴影、设置基于图像的光照(IBL)或优化光照性能时使用。

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

cloudai-x/threejs-animation

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

cloudai-x/threejs-fundamentals

Three.js scene setup, cameras, renderer, Object3D hierarchy, coordinate systems. Use when setting up 3D scenes, creating cameras, configuring renderers, managing object hierarchies, or working with transforms.

cloudai-x/threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

cloudai-x/threejs-interaction

Three.js interaction - raycasting, controls, mouse/touch input, object selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.

cloudai-x/threejs-loaders

Three.js asset loading - GLTF, textures, images, models, async patterns. Use when loading 3D models, textures, HDR environments, or managing loading progress.

cloudai-x/threejs-materials

Three.js materials - PBR, basic, phong, shader materials, material properties. Use when styling meshes, working with textures, creating custom shaders, or optimizing material performance.

cloudai-x/threejs-postprocessing

Three.js post-processing - EffectComposer, bloom, DOF, screen effects. Use when adding visual effects, color grading, blur, glow, or creating custom screen-space shaders.

cloudai-x/threejs-shaders

Three.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.

cloudai-x/threejs-textures

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

相关技能