material-composition
/material-composition
Łączy realistyczne materiały TSL w spójne obiekty z kilkoma powierzchniami w scenach Three.js WebGPU, np. pojazdy i budynki.
- Autor
- wolffe ↗
- Repozytorium
- three.js-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 02.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 02.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Łączy realistyczne materiały TSL w spójne obiekty z kilkoma powierzchniami w scenach Three.js WebGPU, np. pojazdy i budynki.
Oryginalny opis (EN)
Combine realistic TSL materials into coherent multi-material objects in Three.js WebGPU scenes. Use when an object (vehicle, building, machine) is made of several physically distinct surfaces.
Jak działa
- Typical object composition
- Separation rule
- Shared material vocabulary
- Consistency
- Performance
Podgląd SKILL.md
---
name: material-composition
description: Combine realistic TSL materials into coherent multi-material objects in Three.js WebGPU scenes. Use when an object (vehicle, building, machine) is made of several physically distinct surfaces.
---
# Material Composition
Target: Three.js 0.187.0, `three/webgpu` and TSL node materials from `three/tsl`; WebGPU only, no WebGL fallback, no GLSL strings.
Complex objects should be composed from physically distinct surfaces rather than forced into one universal shader.
## Typical object composition
A train might contain:
- painted aluminium/steel body
- glass windows
- rubber seals
- polished or brushed metal components
- dark underbody metal
- plastic interior components
- lights/emissive elements
A building might contain:
- concrete
- painted steel
- aluminium
- glass
- rubber seals
- weathered surfaces
- interior materials
## Separation rule
If two parts have different physical construction, give them separate material treatment where useful.
Do not create dozens of materials for negligible differences.
## Shared material vocabulary
Prefer reusable material constructors and parameter sets.
For example:
createPaintMaterial({ color, roughness, wear })
createGlassMaterial({ tint, roughness, thickness })
createMetalMaterial({ type, roughness, wear })
createRustMaterial({ severity, moisture })
## Consistency
Materials should agree with the geometry. A recessed panel should have believable roughness and dirt behaviour; a rubber seal should not behave like painted metal; glass should not be treated as opaque plastic.
## Performance
Reuse material graphs and textures where possible. Use the expensive effects on hero objects and simplified variants for distant repeated assets.
Wersje
W bazie nie ma innych skilli o nazwie material-composition.
Migawka bazy z 13.11.2026 · wersja paczki 2b37cda27e78 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90paint
Tworzy realistyczne malowane powierzchnie w Three.js TSL na WebGPU: pociągi, pojazdy, znaki, budynki i maszyny. - 100glass
Tworzy realistyczne szkło architektoniczne, pojazdów i iluminatorów w Three.js TSL na WebGPU, takie jak okna i butelki. - 100webgpu-threejs-tsl
Dostarcza odniesienie do API WebGPU, składni TSL, materiałów węzłowych, integracji WGSL, shaderów obliczeniowych i postprocessingu w Three.js. - 100threejs-impl-webgpu
Używa renderera WebGPU w Three.js, materiałów węzłowych, TSL i shaderów obliczeniowych, z zapasowym renderowaniem WebGL. - 100webgpu-tsl
Zawiera bazę wiedzy o WebGPU i Three.js TSL: WebGPURenderer, materiały węzłowe, shadery obliczeniowe przez Fn(), operatory węzłów, mosty WGSL, wykrywanie funkcji i fallback do WebGL2. - 100three-best-practices
Podpowiada, jak optymalizować wydajność w Three.js: geometrie, materiały, tekstury, oświetlenie, shadery i TSL.