3d-high-resolution-textures
Fungsinya
Skill ini memandu agent memilih ukuran tekstur, jenis peta, dan pengaturan pengiriman untuk material 3D. Cocok untuk pengembang yang membutuhkan detail dari dekat sambil menjaga unduhan dan memori grafis tetap terkendali.
Kapan dipakai
- ✓Saat permukaan kayu, batu, atau kain 3D tampak buram dari dekat.
- ✓Saat tekstur scene 3D terlalu besar dan lambat dimuat.
- ✓Saat peta material seperti warna dan tonjolan perlu diatur dengan benar.
Link skill
https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-high-resolution-textures/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Meja kayu saya terlihat buram saat kamera diperbesar. Perbaiki teksturnya tanpa membuat halaman menjadi lambat.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengukur seberapa besar setiap permukaan memenuhi layar, memilih ukuran tekstur yang sesuai, lalu mengatur peta material dan mipmap. Setelah itu agent memeriksa hasilnya pada jarak terdekat.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
3D High-Resolution Textures
Make materials hold up at the closest intended camera view. Specify visible surface detail, mapping scale, and delivery cost together.
Choose resolution from the view
Identify hero surfaces, their nearest camera distance, projected pixel coverage, and target render scale. A texture need depends on visible UV coverage: if a surface spans 1200 physical pixels while showing half a tile, a roughly 2400-pixel-wide tile is a useful starting estimate. Inspect the result rather than assigning 4K or 8K to every map.
Use higher resolution for readable close-up albedo/normal details and lower resolution for smooth roughness or distant surfaces when they look equivalent. Match texel density across connected surfaces. Upscaling a small source cannot invent captured detail; obtain a better source or author appropriate procedural detail when necessary.
Build a coherent PBR material
| Map | Role | Color interpretation |
|---|---|---|
| Base color, emissive color | Surface color or emitted color | sRGB for ordinary PNG/JPEG/WebP color artwork |
| Normal, roughness, metalness, AO, height | Numerical material data | No color-space conversion |
| HDR lighting image | Radiance for environment lighting | Use the format/loader's linear HDR interpretation |
Keep lighting calculations linear and apply final output conversion once. Configure maps according to the material and renderer version; see Three.js color management.
Use base color without baked directional highlights when dynamic lighting is expected. Orient wood grain along the member, stone scale to actual units, and woven fibers to fabric construction. Share tiling transforms across maps belonging to one material. Check tangent-space normal convention and seams under a moving light. Verify the AO UV channel supported by the installed renderer rather than blindly duplicating an obsolete attribute name.
Combine broad color variation, mid-scale structure, and subtle microdetail. Keep bump/normal intensity plausible. Normal and bump maps alter shading; silhouette detail requires geometry or displacement with enough vertices. Wood, stone, and cloth are generally dielectric surfaces, so increasing metalness to make them shiny is not a material fix.
Preserve detail during sampling
Enable mipmaps and appropriate minification filtering for ordinary static textures. Use anisotropic filtering for grazing-angle floors, roofs, and timber, capped by renderer.capabilities.getMaxAnisotropy(). Compare moderate values before assigning the maximum everywhere; anisotropy improves oblique sampling, not missing source detail.
For foliage cutouts, pad atlas cells, bleed edge color into transparent texels, and preserve alpha coverage across mip levels. Inspect distant cards against a bright sky for dark fringes or disappearing leaves. Do not threshold every mip blindly; choose a method compatible with alpha testing or alpha-to-coverage.
Deliver detail progressively
- Load the opening view's essential maps first. Use a small useful placeholder or lower-resolution variant, then promote near-visible hero surfaces without changing their UV scale or material identity.
- Queue optional rooms and detail views shortly before the camera reaches them. DOM
loading="lazy"does not schedule WebGL texture requests; use scene visibility, camera distance, or chapter state explicitly. - Deduplicate requests and cache texture variants by full asset identity plus sampling/color settings. Do not key by a filename suffix that may collide.
- Keep assets external and cacheable. WebP/AVIF can reduce network bytes for color imagery; inspect data maps for compression artifacts. They usually decode to uncompressed GPU textures. KTX2/Basis can also reduce GPU storage where supported; configure and verify the transcoder and fallback. See KTX2Loader.
- Dispose superseded GPU textures when no material still references them. Reusing image bytes across separate WebGL contexts does not share the GPU allocation.
A 4096² RGBA8 texture with a full mip chain is approximately 85.3 MiB in GPU storage before driver overhead. A small compressed download can therefore still produce a large allocation. Budget the entire material set, decoded CPU images, and concurrent upgrades, not just file size.
For procedural maps, bake stable assets ahead of time w
Pertanyaan umum
Apakah semakin besar selalu semakin baik?
Tidak. Skill ini menyarankan menyesuaikan ukuran tekstur dengan bagian yang terlihat, bukan memakai ukuran terbesar di mana-mana.
Bisakah gambar kecil dibuat tajam dengan diperbesar?
Tidak. Memperbesar tidak bisa menambah detail nyata yang tidak ditangkap oleh gambar asli.
Apa itu peta PBR?
Itu adalah peta material, seperti warna, tonjolan, dan kekasaran, yang menggambarkan tampilan permukaan saat terkena cahaya.
Detail
Deskripsi asli dari pembuat
Build sharp, physically coherent high-resolution materials for 3D rendering with appropriate PBR maps, texel density, UV direction, mipmaps, anisotropic filtering, and progressive asset delivery. Use for detailed wood, stone, fabric, foliage, and architectural close-ups without excessive download or GPU memory costs.
repo: MengTo/Skills
Popularitas
- Bintang GitHub
- 7.2k
- Peringkat
- #13317
- Lisensi
- MIT
- Diperbarui
- 1/11/2026
Komentar
- …
Skill lain dari repositori ini
3d-cloth-material
7.2kMembantu agent Anda membuat kain tenun yang realistis di Three.js, dengan anyaman benang, kilau lembut, lipatan alami, kelim, dan jahitan.
3d-falling-leaves
7.2kMembantu agent Anda menambahkan daun berguguran yang realistis ke scene 3D, dengan daun yang berputar, terbawa angin, dan digunakan ulang saat kamera bergerak.
3d-four-seasons
7.2kMembantu agent Anda menambahkan tampilan musim semi, panas, gugur, dan dingin ke scene 3D, dengan mengubah dedaunan, cahaya, langit, dan salju tanpa membangun ulang scene.
3d-high-poly-models
7.2kMembantu agent Anda membangun model 3D yang detail dengan bentuk halus dan tepi yang meyakinkan, lalu menyiapkan versi lebih ringan yang berjalan baik di web.
Skill serupa
angular-developer
280kMembantu agent Anda membuat kode Angular dan memberi saran struktur proyek. Berguna saat memulai proyek baru, membuat komponen, atau meningkatkan performa.
frontend-a11y
280kMembantu agent Anda membuat antarmuka web dapat diakses semua orang. Memastikan website dan aplikasi berfungsi baik dengan screen reader dan navigasi keyboard.
frontend-patterns
280kMembuat agent Anda menerapkan pola modern dalam frontend. Mengoptimalkan performa, mengelola state, dan mengikuti praktik terbaik React dan Next.js.