Gerçek zamanlı VFX · breakdownReal-time VFX · breakdown
Reward Chest
Üç kademeli (Common, Rare, Epic) bir mobil sandık açılışı: şarj vuruşları, beyaz kesme, tek yıldız, ödül ve sayaçlara uçuş.
A three-tier mobile chest opening (Common, Rare, Epic): charge beats, a white cut, one star, the reward and its flight to the counters.
- TeknikBuilt with
- Unity 6, URP, Shuriken, HLSL (AI-assisted)
- Parçacık sistemiParticle systems
- Prefab’te 15, ayrıca kodla yönetilen quad’lar15 in the prefab, plus quads driven by code
- HedefTarget
- Android, Galaxy A32’de test edildiAndroid, tested on a Galaxy A32
KatmanlarLayers
Prefab’teki 15 Particle System ve kodla yönetilen quad’lar. Az ve güçlü şekil: tek yıldız, ince çizgiler, ışık tozu.
The 15 Particle Systems in the prefab and the quads the director script drives. Few, strong shapes: one star, thin lines, light dust.
| KatmanLayer | İşJob | Shader · dokuShader · texture |
|---|---|---|
PressSparks, SeamSparks, ChargePull | Bekleme ve şarj: kilit dikişinde kıvılcım, kilide çekilen ışık iğneleri. Vuruş sayısı Common 2, Rare 3, Epic 4.Anticipation and charge: sparks on the lock seam and light needles pulled into the lock. Beats: Common 2, Rare 3, Epic 4. | SH_ChestR2_Erode · T_C2_Diamond, T_C2_Glint4 |
Star, StarBloom | Patlamanın tek kahramanı: tek 4 köşeli yıldız (43 ms’de tam boy) ve yumuşak parıltısı.The single hero of the burst: one 4-point star (full size in 43 ms) and its soft bloom. | SH_ChestR2_Erode · T_C9_Star, T_C9_Flash |
StarFlare | Yıldızın iki ince lens çizgisi.Two thin lens lines through the star. | SH_ChestR2_Erode · T_C9_Streak |
Shafts, BigStars | İnce ışık şaftları ve büyük yıldızlar.Thin light shafts and big stars. | SH_ChestR2_Erode · T_C9_Shaft, T_C9_Star |
Twinkles, HeroSparkles, Motes, DustField | Tutuşta sahneyi canlı tutan küçük parıltılar ve ışık tozu.Small twinkles and light dust that keep the hold alive. | SH_ChestR2_Erode · T_GFB_Motes |
StarField, CometSparks | Rare sandığın kuyruklu yıldızı ve yıldız alanı.The Rare chest’s comet and its star field. | SH_ChestR2_Erode · T_GFB_Stars, T_GFB_Motes |
FlashCut, GlowBed, Shockwave, HeroRayFan, StarRing | Parçacık değil, direktör script’inin yönettiği quad’lar: tam 2 karelik beyaz kesme, kademe renginde yumuşak ışık yatağı, ince kırık lens halkası, ışık şaftı yelpazesi ve yalnız Epic’te dönen yıldız halkası.Not particles but quads driven by the director script: a white cut held for exactly 2 frames, a soft light bed in the tier colour, a thin broken lens ring, a fan of light shafts and, for Epic only, a rotating star ring. | SH_ChestR2_Erode, SH_ToonGlowSDF · T_C8_StarRing |
Hero gem | Ödül mücevheri kendi shader’ıyla çizilir.The reward gem has its own shader. | SH_ChestR2_Gem |
Darbeden sonra: beyaz kesme 2 kare, yıldız 43 ms’de tam boy, lens halkası 0,03 – 0,41 sn, ödül 0,05 – 0,55 sn’de çıkar, şaftlar 0,48 sn’den sonra gelir.
After the impact: white cut for 2 frames, star at full size in 43 ms, lens ring 0.03 to 0.41 s, reward rises 0.05 to 0.55 s, shafts arrive after 0.48 s.
DokularTextures
Gri tonlu ve küçük; kademe rengi shader’da ve Color over Lifetime’da verilir. Dokular projedeki Python betikleriyle üretiliyor.
Small grayscale maps; the tier colour comes from the shader and Color over Lifetime. The textures are generated by Python scripts kept in the project.

T_C9_StarPatlamanın yıldızı.The burst star.

T_C9_StreakLens çizgisi.Lens line.

T_C9_ShaftIşık şaftı.Light shaft.

T_C9_FlashYıldız parıltısı.Star bloom.

T_GFB_MotesParıltı ve toz (sheet).Twinkles and dust (sheet).

T_GFB_StarsYıldız alanı (sheet).Star field (sheet).
Shader
- SH_ChestR2_Erode. Doku × vertex rengi, isteğe bağlı olarak kayan bir gürültüyle alfa aşınması. Parçacığın alfası bir solma değil eşik: şekil ince yerlerinden başlayarak dağılır.
- Karışım. Çıktı premultiplied; tek bir değer toplamalı ile alfa karışımı arasında seçer.
- Çizim sırası. Derinlik yerine kuyruk sırası ve ZTest Always: odak perdesi 2450, ışık yatağı 2452, şaftlar 2453, halka 2454, sandık 2460, yıldız ve çizgiler 2461, ödül 2462. Hiçbir ışık katmanı ödülün üstüne çıkamaz.
- SH_ChestR2_Gem. Mücevher için: dikey iç gradyan, içeriden ışık çekirdeği, keskin fresnel kenarı ve direktörün zamanladığı parıltı süpürmesi.
- Shader’lar HLSL ve yapay zekâ kodlama ajanlarıyla yazıldı; ben okuyup değerlerini Inspector’da ayarlıyorum.
- SH_ChestR2_Erode. Texture × vertex colour, with optional alpha erosion by a scrolling noise. The particle’s alpha is a threshold rather than a fade: shapes break apart from their thin parts first.
- Blending. Output is premultiplied; one value switches between additive and alpha blend.
- Draw order. Queue order and ZTest Always instead of depth: focus dim 2450, light bed 2452, shafts 2453, ring 2454, chest 2460, star and lines 2461, reward 2462. No light layer can land on top of the reward.
- SH_ChestR2_Gem. For the gem: a vertical inner gradient, an inner light core, a crisp fresnel rim and a glint sweep timed by the director.
- 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.9 avg / 59.2 1% low
- Epic açılışı, 6,5 sn’de bir, 24 snEpic opening every 6.5 s, 24 s
- 60.0 avg / 59.5 1% low / 11.2 ms GPU
- Sahne tepesiScene peak
- 47 SetPass, 96 bin üçgen (oda sahnesinin tamamı)47 SetPass calls, 96k triangles (the whole room scene)
Ö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).