water-crystal-skill-vfx
Was er macht
Dieser Skill führt den Agenten beim Bau von Wasser- und Kristalleffekten für einen Spiel-Skill, einschließlich einer Wasserkugel, Strömen und Wachstum am Boden. Er richtet sich an Spieleentwickler, die Wasser wollen, das wie klares Wasser wirkt und nicht wie eine flache türkise Fläche.
Wann du ihn nutzt
- ✓Wenn ein Spiel-Skill eine schwebende Wasserkugel oder einen Wasserstrom braucht.
- ✓Wenn Wasser die Szene dahinter mit einem sichtbaren Rand brechen soll.
- ✓Wenn Kristallwachstum oder Wasser-Landeffekte zu einem Wasser-Skill passen müssen.
Link zum Skill
https://github.com/MengTo/Skills/blob/main/agent-skills/game-combat/water-crystal-skill-vfx/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Lass meinen Wasser-Skill eine schwebende Kugel zeigen, die die Szene dahinter bricht, und Wasserströme zum Ziel schicken.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent baut die Kugel mit einer welligen Oberfläche, Brechung und einem silbernen Rand und ergänzt dann Ströme und Landeeffekte mit demselben Look. Die Effekte bleiben im visuellen Stil der anderen Skills.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Water and Crystal Skill VFX
Use this for the effect half of a water skill: what gathers above the hand, what it throws, what grows where it lands 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. - Fire, smoke, embers and heat haze:
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 frames"). There is no character: water gathers over an implied open palm. After its self-critique rounds and a review round, the page went through three rounds of a dream loop against GPT Image edits of its own frames (see references/scorecard.md).
Verified stack: Three.js r170, WebGL2, GLSL ShaderMaterials, HalfFloat render targets, a 96³ baked noise texture, and a hand-written bloom, glint and composite chain. No post-processing library. The demo's floor is Poly Haven's Low Tide Rocks by Dimitrios Savva (CC0). Its 1k colour, normal and ARM maps are in demo/assets/ground/, re-encoded at quality 85 and embedded by demo/build.mjs as data URIs, so the page opens from disk.
The mechanism
Water is what it bends and what it mirrors; crystal is light caught between planes.
- Clear water has no colour of its own. Every water surface (orb, streams, splash) refracts a copy of the frame drawn behind it, reflects the night and the lights with Fresnel, and is tinted only by its path length (Beer–Lambert). Its look comes from silver rims, a dark edge on the unlit side and sharp highlights of small bright sources, which are never scaled down by the 2% reflectance.
- Surfaces evolve in place. The orb is a sphere-traced field: its free-drop oscillation modes ride on springs, capillary rings run over it, and a warp field drifts through its noise. Nothing turns rigidly or scrolls (the Sliding texture switch shows that failure). Streams carry ripples that move with the flow.
- Crystals are their own planes. Each crystal is a convex hull clipped from half-spaces. The fragment shader traces the ray inside against those same planes in closed form, so back facets, total internal reflection and edges show inside the stone (the Painted glass switch shows a tinted body with only a reflection).
- The ground is a place, not a texture. A heightfield of wet rock banks stands out of one flat water plane at y = 0. Where the rock is below the plane, it is the pool floor seen through water. A half-resolution mirror pass (an oblique-clipped reflected camera) puts the rock, the orb, the streams, the crystals and the drops into the pools, and the moon arrives as a glitter column of micro-facet glints. The same terrain runs on the CPU, so shards and drops land on the surface that is drawn.
- One clock and one composite, as in
lightning-energy-skill-vfx: holds freeze every layer at once, refraction-only pressure fronts write into one half-resolution distortion buffer, and the impact frame draws after tone mapping. Here the vignette sits before the tone curve, so highlights still clip.
Reuse the working effect
Copy assets/tide-crystal.mjs. You pass in your own THREE, and the module does not import a second copy. The demo runs this same module, inlined by demo/build.mjs because a page opened from disk cannot import modules.
import { createTideCrystal, ENV_GLSL, LIGHTS_GLSL, RIPPLE_GLSL, CAUSTIC_GLSL, TNOISE_GLSL, NOISE_GLSL, L_MIRROR } from './tide-crystal.mjs';
const fx = createTideCrystal(THREE, { renderer, scene, camera, seed: 23, moonDir }); // bakes the 96³ noise texture
fx.setSize(width * dpr, height * dpr, dpr); // drawing-buffer pixels, again on resize
fx.warmup(); // compile every effect before the first cast
fx.options.shake = 0.6; fx.options.fisheye = 0.65; // felt, not th
Häufige Fragen
Sieht das Wasser wie ein texturierter Ball aus?
Der Skill strebt klares Wasser mit echter Brechung an, nicht eine texturierte oder flache Füllung.
Deckt er Kristalle ab?
Ja. Kristallwachstum gehört zur Bildsprache von Wasser und Kristall.
Gibt es eine Checkliste zur Bewertung?
Ja. Der Skill enthält eine Bewertungsliste für die fertigen Effekte.
Details
Originalbeschreibung des Autors
Build the effects of a water and crystal skill as one visual language in Three.js. Water that reads as clear water, never a teal fill or a textured ball. A ray-marched water orb whose surface swells, rings and deforms in place: it refracts the frame behind it with an inverted horizon, has a silver rim and sharp highlights, and shows a faint caustic web on its far wall. Streams wound up from tide pools as uneven beaded ropes with silver edges, drips and shed drops. A lash that unspools from the orb, whips and pours into a pool under a torn, lopsided splash crown of aerated white water with spik
repo: MengTo/Skills
Beliebtheit
- GitHub-Sterne
- 7.2k
- Platz im Ranking
- #13350
- Lizenz
- MIT
- Aktualisiert
- 1.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
3d-cloth-material
7.2kHilft deinem Agenten, realistisch gewebten Stoff in Three.js zu bauen, mit Fadengewebe, weichem Schimmer, natürlichen Falten, Säumen und Nähten.
3d-falling-leaves
7.2kHilft deinem Agenten, realistisch fallende Blätter in eine 3D-Szene einzubauen, die taumeln, vom Wind treiben und sich wiederverwenden, wenn sich die Kamera bewegt.
3d-four-seasons
7.2kHilft deinem Agenten, Frühling, Sommer, Herbst und Winter in eine 3D-Szene einzubauen. Laub, Licht, Himmel und Schnee wechseln, ohne die Szene neu zu bauen.
3d-high-poly-models
7.2kHilft deinem Agenten, detaillierte 3D-Modelle mit glatten Formen und glaubwürdigen Kanten zu bauen und danach leichtere Versionen vorzubereiten, die im Web gut laufen.
Ähnliche Skills
taste-application
280kHilft deinem Agenten, Videos im Stil eines Referenzvideos zu erstellen. Er übernimmt den Schnittrhythmus, generiert Szenen, passt Farben an und schneidet alles zusammen.
taste-distillation
280kLässt deinen Agenten Videos analysieren und ein Stil-Paket erstellen. Es enthält Farben, Schnittrhythmus und visuelle Elemente für neue Videos im gleichen Look.
ui-demo
280kLässt deinen Agenten ansprechende UI-Demo-Videos aufnehmen. Nützlich für Tutorials oder um zu zeigen, wie eine Web-App funktioniert.