ice-frost-skill-vfx
하는 일
이 스킬은 게임 스킬의 얼음 효과를 만드는 과정을 에이전트가 안내합니다. 바닥에 퍼지는 서리와 손에서 터져 나오는 효과를 포함합니다. 서리가 그려진 것이 아니라 자라난 것처럼 보이기를 원하는 게임 개발자를 위한 스킬입니다.
사용하는 경우
- ✓게임 스킬에 표면 위로 퍼지는 서리나 얼음이 필요할 때.
- ✓서리가 가지처럼 갈라지며 바깥으로 자라야 할 때.
- ✓얼음 효과가 평평하게 칠한 무늬처럼 보여 생동감을 더해야 하는 경우.
스킬 링크
https://github.com/MengTo/Skills/blob/main/agent-skills/game-combat/ice-frost-skill-vfx/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 얼음 스킬이 손에서 바닥을 따라 서리를 자라게 하고, 가지 모양 무늬가 바깥으로 퍼지도록 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 프로세서에서 시작점부터 서리 가지를 키운 뒤, 그 무늬를 이용해 시간에 따라 퍼지는 가늘고 부드러운 가장자리를 그립니다. 효과는 다른 스킬 효과와 같은 시각 스타일을 유지합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Ice and Frost Skill VFX
Use this for the effect half of an ice or frost skill: what forms in the hand, what spreads across the ground, what erupts, what the wind does and what breaks. Reach for a sibling instead in these cases:
- Lightning, an energy orb, black afterimage smoke and air bursts:
lightning-energy-skill-vfx. This skill reuses its clock, composite, impact frames and flash limiter. - Flames, smoke, embers and burning ground:
fire-smoke-skill-vfx. - Readable, budgeted gameplay effects in general (telegraphs, status, cleanup rules):
create-game-vfx. Its readability rules still apply here. - Scoring a skill out of 10, or polishing the caster's body and timing:
game-dev-combat-skill-polish.
Source: a brief for elemental skill pages built to the Black Lightning demo's bar, with the notes the user gave on that demo ("not as in-your-face", "more fine lines", "smooth transitions", "a more realistic floor", "no sliding textures", "more detail in the shadows"). There is no character: the frost blooms in an implied hand at chest height. Then eight self-critique rounds, two rounds of review on the blizzard, and a three-round dream loop against GPT Image edits of the page's own frames (see references/scorecard.md).
Verified stack: Three.js r170, WebGL2, GLSL ShaderMaterials (one in GLSL3 for a two-target bake), HalfFloat render targets with a depth texture, a 96³ baked noise texture, and a hand-written bloom, composite and FXAA. No post-processing library. The demo's floor is Poly Haven's Snow 02 by Rob Tuytel (CC0), its 1k colour, normal and AO/roughness maps in demo/assets/ground/, embedded by demo/build.mjs as data URIs so the page opens from disk.
The mechanism
Frost is grown once and drawn by its arrival time; ice is traced against its own planes; the air is marched where the cold pools.
- Grow the frost, then let the shader reveal it.
growFrostruns a small diffusion-limited growth on the CPU in about 50 ms: stems, barbs and sub-barbs advance as events in one time-ordered heap, so whichever tip reaches a patch first claims it and later tips stop against it. Every segment carries the time the front reached it. The tree is baked once into a 2048-wide HalfFloat distance field, and the ground shader draws hairlines from it by comparing that arrival time with the frost clock. Nothing is re-rolled or scrolled: the pattern grows. - Ice is a convex hull you can trace exactly. Each spike is a set of planes (sides, tip facets, chips, a base) clipped from a cube. The fragment shader refracts into the hull, finds the exit plane in closed form, reflects internally while total internal reflection holds, and samples a mip-mapped copy of the world pass for what is seen through it. Cracks are planes too: the spike shatters along exactly the planes the viewer watched crack.
- Pieces are rigid bodies with one contact. Every fragment and chunk keeps its hull vertices, so the lowest corner is known each substep. An impulse with friction lands it, and when it slows it tips onto the face nearest the snow, so nothing ends balanced on a point, floating or sunk.
- Mist is a ray march in banks, not cards. Each bank is a wind-stretched ellipsoid marched over its own span at a third of the resolution, with domain-warped fibres advected in two crossfaded phases so it churns in place. A mist-only debug view (
fx.debug = 'mist') is how it was calibrated. - One wind field moves everything. A column vortex (foot inflow, core lift, top outflow, an S-shaped axis) drives the powder, the flakes, the hairline streamers and the mist's rotation.
- One clock and one composite, as in
lightning-energy-skill-vfx: holds freeze every layer, a time ramp slows the crack, refraction rings go into a half-resolution distortion buffer, bloom has a high threshold, and the impact frame draws after tone mapping. FXAA runs only on pixels the ice pass marks, because MSAA on a HalfFloat target resolves to garbage.
Reuse the working effect
Copy assets/frost-energy.mjs and assets/frost-growth.mjs side by side (frost-energy imports ./frost-growth.mjs). You pass in your own THREE, and neither module imports a second copy. The demo runs these same modules, inlined by demo/build.mjs because a page opened from disk cannot import modules.
import { creat
자주 묻는 질문
바람이나 얼음이 깨지는 효과도 다루나요?
네. 이 스킬은 얼음 시각 언어의 일부로 바람과 깨지는 효과도 다룹니다.
어떤 엔진을 쓰나요?
WebGL2와 직접 작성한 셰이더를 사용하는 Three.js입니다.
불 스킬과는 어떻게 다른가요?
불 스킬은 불꽃과 연기를 다룹니다. 이 스킬은 서리, 얼음, 그리고 그것들이 바닥에 퍼지는 방식을 다룹니다.
상세 정보
작성자의 원본 설명
Build the effects of an ice and frost skill as one visual language in Three.js. Frost that grows like real frost, not a painted fern: a dendritic tree grown on the CPU from a seed point, stems racing outward with barbs and sub-barbs that compete for space in one time-ordered queue, side branches leaned toward their tips, baked into a distance field so the shader draws hairline feathers growing out from the seed with a bright tip, rime, crystal glints and a contact shadow. Faceted ice spikes built from half-spaces and ray-traced against their own planes (Snell, Fresnel, total internal reflectio
repo: MengTo/Skills
인기도
- GitHub 스타
- 7.2k
- 순위
- #13348
- 라이선스
- 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 모델을 만들고, 웹에서 잘 돌아가는 가벼운 버전을 준비하도록 돕습니다.
비슷한 스킬
taste-application
280k특정 스타일의 영상을 에이전트가 만들도록 돕습니다. 참고 영상의 편집 리듬을 살려 새 장면과 색을 더하고 영상을 편집합니다.
taste-distillation
280k영상을 분석해 스타일 팩을 만들도록 에이전트를 돕습니다. 색, 컷 리듬, 시각 요소를 포함하며 같은 느낌의 새 영상을 만드는 데 재사용할 수 있습니다.
ui-demo
280k에이전트가 완성도 높은 UI 데모 영상을 녹화하도록 돕습니다. 튜토리얼을 만들거나 웹 앱의 작동 방식을 보여 줄 때 유용합니다.