What problem does it solve?
This Skill helps you select and configure the correct Three.js material so your 3D meshes render with the look you want (unlit, matte, shiny, PBR-realistic, toon, or debug views) without trial-and-error.
Core Features & Use Cases
- Material type selection: Pick the appropriate material class (e.g., MeshStandardMaterial for PBR, MeshPhysicalMaterial for advanced PBR, MeshToonMaterial for stylized rendering).
- Texture and property setup: Configure common material properties such as color, roughness, metalness, emissive, normals, AO (uv2), and environment maps for reflections.
- Custom shaders: Use ShaderMaterial and RawShaderMaterial to implement GLSL vertex/fragment effects, uniforms, and full shader control.
- Performance and correctness guidance: Apply practical rendering tips like reuse materials, limit transparent usage, use alphaTest when possible, and clone/modify materials safely.
Quick Start
Use this skill when you need to make a realistic 3D surface by configuring a MeshStandardMaterial with roughness, metalness, and texture maps for your scene lighting.