3d-paper-material
하는 일
이 스킬은 3D 웹 장면에서 와시나 카드 같은 종이를 만드는 과정을 안내합니다. 종이로 된 시트, 족자, 라벨이 진짜처럼 보이기를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓3D 종이 시트가 평평한 흰 면처럼 보일 때.
- ✓3D 장면에 찢어지거나 해지거나 접힌 종이 가장자리가 필요할 때.
- ✓걸린 족자, 라벨, 카드가 빛을 받아 살짝 빛나야 할 때.
스킬 링크
https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-paper-material/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 3D 장면에 걸린 와시 족자를 섬유와 찢어진 가장자리가 있는 진짜 종이처럼 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 섬유와 질감 세부를 맵에 구워 넣고, 해진 패턴으로 찢어진 가장자리를 만들며, 층을 이룬 두께를 더합니다. 또 얇은 부분으로 약한 뒷빛이 통과하도록 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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-
자주 묻는 질문
타고 있는 종이도 다루나요?
아닙니다. 불에 타거나 불로 드러난 종이는 별도의 스킬이 맡습니다. 이 스킬은 타지 않은 시트를 다룹니다.
넘길 수 있는 책도 만들 수 있나요?
아닙니다. 페이지를 넘기는 책에는 이 스킬이 제공하지 않는 구부림 설정이 필요하다고 스킬이 설명합니다.
어떤 종이 종류를 언급하나요?
와시, 면 라그, 크라프트지를 언급합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 7.2k
- 순위
- #13320
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
3d-cloth-material
7.2k에이전트가 Three.js에서 실 짜임, 부드러운 광택, 자연스러운 주름, 단, 솔기를 갖춘 실제 직물처럼 보이는 천을 만들도록 돕습니다.
3d-falling-leaves
7.2k에이전트가 3D 장면에 나뭇잎이 구르고 바람에 흩날리며 카메라 움직임에 따라 재사용되는 낙엽 효과를 추가하도록 돕습니다.
3d-four-seasons
7.2k에이전트가 3D 장면의 나무, 빛, 하늘, 눈을 바꿔 장면을 다시 만들지 않고 봄, 여름, 가을, 겨울을 표현하도록 돕습니다.
3d-high-poly-models
7.2k에이전트가 매끄러운 형태와 자연스러운 모서리를 가진 세밀한 3D 모델을 만들고, 웹에서 잘 돌아가는 가벼운 버전을 준비하도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.