Gerçek zamanlı VFX · breakdownReal-time VFX · breakdown
Elemental Hits
Üç element vuruşu ve bir reaksiyon: Pyro, Cryo, Electro, sonra Superconduct. Her vuruş küçük parlak bir çekirdek, boyalı şekiller ve kenardan içe eriyen kenarlardan oluşur.
Three element hits and one reaction: Pyro, Cryo, Electro, then Superconduct. Each hit is a small bright core, painted shapes and edges that erode inward.
- TeknikBuilt with
- Unity 6, URP, Shuriken, HLSL (AI-assisted)
- Parçacık sistemiParticle systems
- Prefab’te 8080 in the prefab
- HedefTarget
- Android, Galaxy A32’de test edildiAndroid, tested on a Galaxy A32
KatmanlarLayers
Prefab’teki 80 sistem: Pyro 19, Cryo 20, Electro 19, Superconduct 22. Her element aynı kalıbı kendi şekilleriyle doldurur. Tabloda * element adı yerine geçer.
The 80 systems in the prefab: Pyro 19, Cryo 20, Electro 19, Superconduct 22. Each element fills the same pattern with its own shapes. In the table, * stands for the element name.
| KatmanLayer | İşJob | Shader · dokuShader · texture |
|---|---|---|
*_Flash, *_Core, *_Glint | Üç karelik parlama, küçük renkli çekirdek ve lens yıldızı: vuruşun ilk anı.A three-frame flash, a small coloured core and a lens star: the first moment of the hit. | SH_ElementFx · T_EH_Star, T_EH_Glow |
Pyro_Petals, Pyro_Tongues, Pyro_Flecks | Alev yaprakları ve dilleri (2×2 atlas).Flame petals and tongues (2×2 sheet). | SH_ElementFx · T_EH_Fire |
Cryo_Crown_Lean, Cryo_Shards, Cryo_Chips, Cryo_Flakes | Buz kristalleri, kırıklar ve pullar (2×2 atlas).Ice crystals, shards and flakes (2×2 sheet). | SH_ElementFx · T_EH_Ice, T_EH_SwingIce |
Electro_Branches, Electro_Forks, Electro_Arcs | Şimşek dalları, çatallar ve yaylar (2×2 atlas).Lightning branches, forks and arcs (2×2 sheet). | SH_ElementFx · T_EH_Bolt |
Super_Crystal0–4, Super_Chips, Super_Arcs | Superconduct’ın ayrı ayrı koyu kristalleri ve kıvılcım yayları.Superconduct’s separate dark crystals and spark arcs. | SH_ElementFx · T_EH_Super, T_EH_Bolt |
*_Sparks, *_Embers, *_Streak | Uzayan kıvılcım ve köz çizgileri (stretched billboard).Stretched spark and ember streaks (stretched billboards). | SH_ElementFx · T_EH_Streak |
*_SpeedLines, *_Gather | Vuruşa çekilen ve dışa kaçan hız çizgileri.Speed lines pulled into the hit and thrown outward. | SH_ElementFx · T_EH_Speed |
*_ShockRing, *_Distort, Super_Ripple | Aşınan şok halkası ve sahneyi büken halka.An eroding shock ring and a ring that bends the picture. | SH_ElementFx, SH_ElementDistort · T_EH_Ring |
Pyro_Scorch, Cryo_Frost, Electro_Crackle, *_FloorLight | Zeminde yanık, kırağı ve çıtırtı izi; zemin ışığı.Floor marks (scorch, frost, crackle) and floor light. | SH_ElementFx · T_EH_Decal, T_EH_Glow |
*_Twinkles, *_Dust, *_Glow, Super_Bloom | Parıltılar, toz ve yumuşak bloom.Twinkles, dust and soft bloom. | SH_ElementFx · T_EH_Sparkle, T_EH_Glow |
Hasar sayıları ve reaksiyon etiketi parçacık değil, TextMeshPro ile çizilir.
Damage numbers and the reaction label are not particles; they are drawn with TextMeshPro.
Sıra: Pyro, Cryo, Electro, ardından Electro ile Cryo’dan doğan Superconduct reaksiyonu.
Order: Pyro, Cryo, Electro, then the Superconduct reaction that Electro and Cryo produce.
DokularTextures
Şekil haritaları üç kanala paketli: R şeklin yüksekliği, G kenar bozulması ve ton, B sıcak çekirdek. Yeşilimsi görünmelerinin nedeni bu. Beşi 2×2 atlas; her karo bir şekil çeşidi. Projedeki Python betikleriyle üretiliyor.
The shape maps are channel-packed: R is shape height, G is edge breakup and tone, B is the hot core, which is why they look green. Five are 2×2 sheets, each tile a shape variant. They are generated by Python scripts kept in the project.

T_EH_FireAlev yaprakları ve dilleri.Flame petals and tongues.

T_EH_IceBuz kristalleri.Ice crystals.

T_EH_BoltŞimşek dalları.Lightning branches.

T_EH_SuperSuperconduct kristalleri.Superconduct crystals.

T_EH_SparkleParıltı ve toz.Twinkles and dust.

T_EH_DecalZemin izleri.Floor marks.
Shader
- SH_ElementFx. Setin her katmanı tek bir parçacık shader’ı kullanır. Doku kanalları: şekil yüksekliği, bozulma ve ton, sıcak çekirdek.
- Kenardan içe erime. Parçacığın Custom Data değeri (ömür boyunca 0’dan 1’e) eşik olur: şekil, yüksekliği eşikten büyük olduğu sürece görünür; ince uçlar ve kenarlar önce kaybolur. Solma değil, kesik kenarlı bir ölüm.
- Üç ton. Kenar (en koyu), orta ve çekirdek (beyaz sıcak). Yalnız çekirdek HDR’a itilir: küçük sıcak çekirdek, renkli gövde.
- Karışım. Çıktı premultiplied. Parıltılar ve çekirdekler toplamalı, koyu kenarını tutması gereken gövdeler alfa karışımlı; tek bir değerle seçilir.
- SH_ElementDistort. Sahnenin opak kopyasını halka boyunca dışa iter: vuruşta karakter ve zemin bir an dalgalanır.
- Shader’lar HLSL ve yapay zekâ kodlama ajanlarıyla yazıldı; ben okuyup değerlerini Inspector’da ayarlıyorum.
- SH_ElementFx. Every layer of the set uses one particle shader. Texture channels: shape height, breakup and tone, hot core.
- Erosion from the edge. The particle’s Custom Data value (0 to 1 over its life) is the threshold: a pixel shows while the shape height is above it, so thin tips and edges vanish first. A cut-out death, not a fade.
- Three tones. Edge (darkest), mid and core (white-hot). Only the core is pushed into HDR: a tiny hot core with a coloured body.
- Blending. Output is premultiplied. Glows and cores are additive, bodies that must keep a dark rim use alpha blending; one value picks between them.
- SH_ElementDistort. Pushes the scene’s opaque copy outward along a ring, so the dummy and floor ripple for a moment.
- The shaders are HLSL, written with AI coding agents under my direction; I read them and tune the values in the Inspector.
Mobil maliyetMobile cost
- CihazDevice
- Samsung Galaxy A32, MSAA 2x
- Kare hızı (60 sn)Frame rate (60 s)
- 59.8 avg / 59.5 1% low
- Sahne tepesiScene peak
- 54 SetPass, 83 bin üçgen, 146 canlı parçacık54 SetPass calls, 83k triangles, 146 live particles
Ölçüm Kasım 2026, geliştirme build’i, her sahne için 60 sn’lik tek koşu, ±1 fps. “Sahne tepesi”, efektin içinde durduğu sahnenin tamamıdır (karakter ve ortam dahil).
Measured November 2026, development build, one 60 s run per scene, ±1 fps. “Scene peak” is the whole scene the effect sits in (character and environment included).