threejs-materials 是做什么的?
Three.js 材质 - PBR、基本材质、Phong 材质、着色器材质及材质属性。用于网格样式设计、纹理处理、自定义着色器创建或材质性能优化。
Three.js 材质 - PBR、基本材质、Phong 材质、着色器材质及材质属性。用于网格样式设计、纹理处理、自定义着色器创建或材质性能优化。
该技能专注于 Three.js 材质系统,涵盖了从基本材质(MeshBasicMaterial)到标准材质(MeshStandardMaterial)、Phong 材质(MeshPhongMaterial)、PBR 材质以及自定义着色器材质(ShaderMaterial)的全面内容。它帮助开发者理解材质属性(如颜色、贴图、发光度、透明度、粗糙度、金属度等),并指导如何在网格(Mesh)应用中使用纹理映射、法线贴图、环境贴图等技术来增强视觉效果。此外,技能还涉及材质性能优化策略,例如减少材质实例化、合理使用共享材质、以及通过自定义着色器实现高级渲染效果。该技能适用于所有支持 Three.js 的开发环境,包括 Vue、React 或原生 JavaScript 项目,无论是构建游戏、可视化工具还是交互式 3D 应用,都能提供清晰的代码示例和最佳实践。
npx skills add https://github.com/cloudai-x/threejs-skills/tree/main/skills/threejs-materialsInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Three.js 材质 - PBR、基本材质、Phong 材质、着色器材质及材质属性。用于网格样式设计、纹理处理、自定义着色器创建或材质性能优化。
This repo contains 9 individual skills — each has its own dedicated page.
Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.
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.
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.
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.
Three.js lighting - light types, shadows, environment lighting. Use when adding lights, configuring shadows, setting up IBL, or optimizing lighting performance.
Three.js asset loading - GLTF, textures, images, models, async patterns. Use when loading 3D models, textures, HDR environments, or managing loading progress.
Three.js post-processing - EffectComposer, bloom, DOF, screen effects. Use when adding visual effects, color grading, blur, glow, or creating custom screen-space 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.
Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.