threejs-texture-management
Installation
SKILL.md
Three.js Texture Management
When to Use
Use this skill when:
- Loading textures for materials
- Optimizing texture memory on mobile
- Creating texture atlases
- Implementing texture streaming
- Managing texture disposal
Core Principles
- Compress Textures: Use KTX2/Basis for GPU compression
- Power of Two: Use POT dimensions for mipmaps
- Texture Atlases: Combine multiple textures
- Lazy Loading: Load textures on demand
- Proper Disposal: Dispose textures to free memory
- Mipmap Management: Generate/disable based on need