water-crystal-skill-vfx
यह क्या करती है
यह स्किल गेम स्किल के पानी और क्रिस्टल प्रभाव बनाने का मार्गदर्शन देती है, जिनमें पानी का गोला, धाराएँ और ज़मीन पर उगाव शामिल हैं। यह उन गेम डेवलपर्स के लिए है जिन्हें ऐसा पानी चाहिए जो साफ़ पानी जैसा लगे, सपाट हरे रंग की भराई जैसा नहीं।
कब इस्तेमाल करें
- ✓जब किसी गेम स्किल को तैरता पानी का गोला या पानी की धारा चाहिए।
- ✓जब पानी को अपने पीछे के दृश्य को अपवर्तित करना और दिखने वाला किनारा रखना चाहिए।
- ✓जब क्रिस्टल का उगना या पानी का गिरना किसी पानी वाली स्किल से मेल खाना चाहिए।
Skill का लिंक
https://github.com/MengTo/Skills/blob/main/agent-skills/game-combat/water-crystal-skill-vfx/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी पानी वाली स्किल में तैरता गोला दिखाइए, जो अपने पीछे के दृश्य को अपवर्तित करे और लक्ष्य की ओर पानी की धाराएँ भेजे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट लहराती सतह, अपवर्तन और चाँदी जैसे किनारे के साथ गोला बनाता है, फिर वही रूप वाली धाराएँ और गिरने के प्रभाव जोड़ता है। वह प्रभावों को बाकी स्किलों के साथ एक विज़ुअल शैली में रखता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या पानी टेक्सचर वाली गेंद जैसा दिखेगा?
स्किल असली अपवर्तन वाला साफ़ पानी चाहती है, टेक्सचर या सपाट भराई नहीं।
क्या इसमें क्रिस्टल कवर होते हैं?
हाँ। क्रिस्टल का उगना पानी और क्रिस्टल की विज़ुअल भाषा का हिस्सा है।
क्या नतीजे को जाँचने के लिए चेकलिस्ट है?
हाँ। स्किल में तैयार प्रभावों को परखने के लिए एक स्कोरकार्ड है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 7.2k
- रैंकिंग में स्थान
- #13350
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
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 मॉडल बनाने देती है, और फिर वेब पर अच्छे चलने वाले हल्के संस्करण तैयार करती है।
मिलती-जुलती skills
taste-application
280kयह आपके एजेंट को किसी खास style में videos बनाने में मदद करता है। यह किसी reference video की editing rhythm कॉपी कर सकता है, नए scenes बना सकता है, colors ठीक कर सकता है, और सब कुछ दूसरे footage के साथ जोड़कर edit कर सकता है।
taste-distillation
280kयह आपके एजेंट को videos का विश्लेषण करके style pack बनाने देता है। इसमें colors, cutting rhythm और visual elements शामिल होते हैं, जिन्हें नई videos में उसी look के साथ दोबारा इस्तेमाल किया जा सकता है।
ui-demo
280kयह आपके एजेंट से साफ-सुथरे UI demo videos रिकॉर्ड करवाता है। tutorials बनाने या यह दिखाने के लिए उपयोगी है कि web app कैसे काम करता है।