Visual Effects & VFX Pipeline
The visual presentation layer โ spell/ability effects, ground targeting decals, hero/enemy VFX, environmental effects, and the login-screen atmosphere. This is the visual sibling of Audio, Music & Game Feel (which owns the timing juice: hitstop, screen shake, hit feedback, damage numbers). Everything here is client-side and guarded out of the dedicated-server build.
Hitstop, screen shake, hit feedback, floating damage numbers โ Audio, Music & Game Feel. Spell effects, decals, particles, environment/login VFX โ this page. They're split so the two concerns stay searchable; both are guarded #if UNITY_EDITOR || !UNITY_SERVER.
Ability targeting indicators & ground decals
AbilityCaster (and ArcanistAbilityCaster) render Smite-style aim indicators while you aim an ability โ circle, cone, and rectangle shapes projected onto the ground as URP Decals (Shader Graphs/Decal / the URP Decal.mat), so the telegraph maps cleanly onto uneven terrain rather than floating as a flat quad. The indicator follows the player, tints by variant, and the character faces the cursor while aiming.
- Cast VFX spawns at the aim point, not the caster, so directional spells read correctly.
- Ground decals project down onto the terrain (
indicatorDecalProjectionDepth), added 2026-07-07. - Full ability roster and synergies: Ability Atlas & Synergies.
Hero & spell VFX
| System | Role |
|---|---|
ClericHealVFX | Networked particle burst on Cleric heal cast. Prefab-based; auto-wired by the Healing VFX Builder (BCE โถ Setup โถ 4v). |
ChainLightningVFXProfile | Reusable presentation owned by the spell identity (Chain Lightning), not a specific prefab โ loaded by spell so any caster (e.g. the Chaos Weaver enemy) shares the look. |
| Ability VFX assignment | AbilityVFXAssignerBuilder (BCE โถ Heroes โถ Assign Ability VFX) maps cast/impact/deployable/turret VFX onto abilities in bulk. See Editor Tooling. |
Enemy & environmental VFX
EnemyDeathVFXโ death flourish played when an enemy dies.EnemyProjectile/PlayerProjectileโ projectile visuals for ranged attacks.SkyfallVFXโ an environmental/sky effect (ambient world VFX).SpawnEffectโ spawn-in flourish.
Login-screen atmosphere
The login scene has its own dedicated presentation:
LoginBackgroundFXโ a "Blizzard-style" login camera: the camera barely moves, a slow ~90-second breath left/right/up/down so you feel like you're standing in the world.LoginScreenVFXโ reactive login effects: a success beam + audio swell on successful login, a spark burst on failure. See Login & Authentication Flow.
VFX asset organization
- Third-party particle content lives under
Assets/Game/FX/โ Unity's Particle Pack and the brbmuffins Fantasy/Magic Pack demo assets. These are vendor sample folders (their*.csare demo scripts, not game systems); the game references their prefabs, not their scripts. - Project-original VFX behaviours live with the systems that own them (Combat/UI), not in
FX/. - VFX prefabs were reorganized/relocated on 2026-07-25 ("Relocation of VFX files", "More FX Prefab Organization") โ if a historical reference points a VFX prefab at an old path, expect the current location to differ.
Ability deployables (mines, walls, zones, turrets) and some hit VFX are spawned with plain Instantiate, not NetworkServer.Spawn โ so other players don't see them. Cast VFX and animations do replicate. This is a tracked Mirror-discipline gap, not a rendering bug. See Ability Atlas & Synergies ยท Known Issues & Tech Debt ยท Mirror Networking & Discipline.
How it developed
Combat VFX arrived in waves: Smite-style skill-shots + telegraphs (early July), aim indicators โ LineRenderer โ textured magic-circle quads โ URP ground decals (2026-07-05 โ 07-07), health bars & damage numbers (07-06), per-hero spell effects (Ice Spikes, Meteor Shower, Chain Lightning, Marauder Crashing Leap โ mid-to-late July), and a dedicated VFX file reorganization on 07-25 as the effect library grew. See Development History & Timeline.
Related: Audio, Music & Game Feel ยท Ability Atlas & Synergies ยท UI & HUD Systems ยท Mirror Networking & Discipline