3d-paper-material
O que ela faz
Esta skill orienta o agente a criar papel, como washi ou cartolina, em uma cena web 3D. Ela serve para desenvolvedores que querem uma folha, um rolo ou uma etiqueta que pareçam papel de verdade.
Quando usar
- ✓Quando uma folha de papel 3D parece um plano branco chapado.
- ✓Quando você precisa de uma borda rasgada, desfiada ou vincada em uma cena 3D.
- ✓Quando um rolo pendurado, uma etiqueta ou um cartão deve brilhar levemente onde a luz passa.
Link da skill
https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-paper-material/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Faça o rolo de washi pendurado na minha cena 3D parecer papel de verdade, com fibras e uma borda rasgada.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente grava detalhes de fibra e textura nos mapas, molda a borda rasgada com um padrão desfiado e acrescenta espessura em camadas. Ele também deixa uma luz traseira leve atravessar as áreas mais finas.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
3D Paper Material
Paper is a fibre field cut out by a torn outline: a height map of laid fibres and formation clouds gives the surface, an alpha mask with pulled-out fibres gives the edge, offset copies give the thickness, and the back light is transmitted by how thin the formation is at each pixel. Drop any one and the sheet is a white plane.
Reach for paper-cinder-transition when the paper burns or is revealed by fire; this skill is the unburnt sheet. It is a hung or laid sheet in a scene. A page-turning book needs a bend rig this skill does not provide.
Read demo.html for a working build: MeshPhysicalMaterial patched with onBeforeCompile, maps baked once into half-float targets, masks painted with Canvas 2D. Its NOISE GLSL, formation, kozo-fibre and bark-fleck expressions, back-light transmission, tearLine and the fray loop are ported unchanged from the Kibori workshop page (kibori.html, washiMat, footTear).
The pipeline
- Bake fibres (GPU, once). One full-screen pass writes
R height, G formation, B fibre, A fleckto a half-float target. Height is0.5 + fibre*0.34 + (tooth-0.5)*0.1 - fleck*0.2 - crease*0.55. Keepsamples: 0on the target and mipmaps on. - Warp the lattice. Domain-warp the fibre coordinates by 0.014 unit and rotate them by
(gnoise(q*2.1)-0.5)*1.5rad. Add a finer, fainter fibre set at 2.7x frequency (max 0.55). - Paint the mask (Canvas 2D, on stock change).
Rthin strip inside the tear,Gsilhouette plus fray fibres,Bink with a low-alpha bleed halo,Athe silhouette blurred by a shadow drawn off to the side (edge age). Read back withgetImageDataand write into aDataTexture, rows flipped, alpha as data. - Shape the sheet. A 168 x 240 plane: hung bow, a mountain crease, pin dimples, and a cylinder roll (radius 0.23, angle
2.6*curl) that keeps length. Add three copies offset along the normal bythick/3,2thick/3,thick. - Shade. Albedo from formation and fibre, ink over it, toast and foxing by the age mask. Height goes through a world-unit bump (see gotchas). Alpha is coverage, not a cut.
- Transmit.
emissive += L * tr, wheretr = 0.74 + (0.5-form)*0.85 + (0.5-lowfbm)*0.45 - fibre*0.22 - fleck*0.45, times stock gain, plus the thin strip, minus ink.Lis the garden behind: sky, sun patch, black bamboo stems sampled through a mip bias of 1.4. - Macro. Re-bake a second height target and mask over a 0.5 unit window at the focus point and blend it over the base by window edge. Never tile a small texture.
Constants that landed
| washi | cotton rag | kraft | |
|---|---|---|---|
| tint | #f0e8d2 |
#f0eee6 |
#a88f70 |
| fibre lattice A / B (per unit) | 1.9x54 / 44x2.3 | 15x17 / 16x14 | 7x26 / 26x7 |
| fibre relief, bump height (unit) | 0.55, 0.0017 | 0.32, 0.0024 | 0.8, 0.0034 |
| tooth freq, amp | 230, 0.09 | 430, 0.17 | 300, 0.20 |
| laid lines /unit, amp, chain | 110, 0.28, 0 | 150, 0.55, 0.5 | none |
| tear amplitude (T,R,B,L), fray scale | 64,72,60,76; x12 | 3,58,3,54; x6 | 96,3,4,3; x8 |
| thickness (unit), transmission | 0.0045, 1.0 | 0.0085, 0.42 | 0.011, 0.16 |
| roughness, sheen | 0.93, 0.4 | 0.9, 0.25 | 0.96, 0.10 |
Scale: 1 unit = 134.8 mm (A4 is 1.55 x 2.2). Base bake 990 px/unit = 7.3 px/mm; macro window 1536 px over 0.5 unit = 22.8 px/mm. Tear samples 3400 per unit. Camera 28 degree FOV; macro distance 0.46-0.50.
Rules and the failure each prevents
- Cut the outline from four independent tear lines, never a rectangle with a wobble. A single sine or noise edge reads as a CSS wave;
tearLineruns straight, turns, runs again. Give cut sides amplitude 3-4, torn sides 60-100. - Pull fibres past the edge and paint them as partial coverage. A hard alpha edge reads as scissors. Fibres are 0.3-0.7 px wide at 30-75% alpha; on a dark wall they show as pale hairs.
- Stack three offset copies behind the front layer, tinted 0.8-0.94 of the paper. One quad has no thickness and shows nothing side-on. Keep the offset at 0.0045-0.011 unit; more reads as cardboard.
- Warp and rotate the fibre lattice. Two orthogonal ridged families read as scratched glass or a crosshatch, especially raking-lit.
- Drive transmission from the same fields as the albedo. A flat emissive constant reads as a lamp inside a card; thin formation must glow, fibre bundles and ink must hold light back.
- Fade the toast band to zero beyond the edge. Toasting the fray turns pulled-out fibres brown-
Perguntas frequentes
Ela cobre papel queimando?
Não. Uma skill separada cobre papel queimado ou revelado pelo fogo. Esta cobre a folha que não foi queimada.
Ela pode criar um livro com páginas que viram?
Não. A skill diz que um livro com páginas que viram precisa de uma configuração de dobra que ela não oferece.
Quais tipos de papel ela menciona?
Washi, papel de algodão e papel kraft.
Detalhes
Descrição original do autor
Build a paper sheet in Three.js that reads as paper up close — washi, cotton rag or kraft with baked fibre and tooth relief, laid and chain lines, a torn deckle edge with frayed fibres, four-layer thickness, a rolled corner and crease, ink that wicks along the fibres, toasted aged edges, contact shadows and back-lit translucency. Use for a hung sheet, scroll, page, label, shoji pane or card that must survive a macro close-up, or when paper looks like a flat white plane, has ruler-straight edges, no thickness, or does not glow when lit from behind. Use 3d-wood-material, 3d-cloth-material or 3d-
repo: MengTo/Skills
Popularidade
- Estrelas no GitHub
- 7,2 mil
- Posição no ranking
- #13320
- Licença
- MIT
- Atualizada em
- 01/11/2026
Comentários
- …
Mais skills deste repositório
3d-cloth-material
7,2 milAjuda seu agente a criar tecido tramado realista no Three.js, com trama de fios, brilho suave, dobras naturais, barras e costuras.
3d-falling-leaves
7,2 milAjuda seu agente a acrescentar folhas caindo realistas a uma cena 3D, com folhas que giram, são levadas pelo vento e reaproveitadas conforme a câmera se move.
3d-four-seasons
7,2 milAjuda seu agente a acrescentar visuais de primavera, verão, outono e inverno a uma cena 3D, alterando folhagem, luz, céu e neve sem reconstruir a cena.
3d-high-poly-models
7,2 milAjuda seu agente a criar modelos 3D detalhados com formas suaves e bordas convincentes, e depois preparar versões mais leves que rodem bem na web.
Skills parecidas
angular-developer
280 milAjuda seu agente a criar código Angular e a dar conselhos sobre a estrutura do projeto. É útil para iniciar novos projetos, criar partes do código ou melhorar a performance e acessibilidade.
frontend-a11y
280 milAjuda seu agente a tornar interfaces web acessíveis para todos. Ele garante que sites e apps funcionem bem com leitores de tela e navegação por teclado.
frontend-patterns
280 milFaz seu agente aplicar padrões modernos no desenvolvimento frontend. Ele otimiza performance, gerencia estado e segue boas práticas em React e Next.js.