Which file to download, how to set it up in Godot, Unity or Unreal, every effect with its settings, calls and signals, and how to cast them from code and Blueprint.
One pack, four downloads. Take the one for your engine; they hold the same 18 effects.
On itch.io all four downloads come with the one purchase.
Recorded in the Godot version on the pack's dark floor; Unity and Unreal draw the same effects. The clips were filmed before 1.1.0, so their ground circles have the rim line of the earlier look (rim 1, edge fade 0); as the pack ships now, the circles are soft with no rim line. Lasting effects stand until you let them go: Dark Pact and Hellfire always; Wither unless lasts is set; Blood Rain with rain_time 0; Torment with hold 0; the Ray while looping is on; the Shield with demo off. stop(secs) fades any of them out; freeing one takes it away at once. In Unity Wither, Dark Pact and Hellfire last until stopped, a looping Ray is held, the Shield with demo off stands until Shatter(), and Stop(secs) lets any effect go. In Unreal the same parameters are named Lasts, RainTime and Hold, and End lets any of them go.
Godot
Every effect node has autoplay, looping, free_when_done, size (1 is for a figure 1.8 m tall), preview_in_editor, and its colours tint, core, accent, shade (the near-black of its dark hearts, cracks and cores) and brightness. play() runs it again; stop(secs) lets it go (0.3 s by default): what shows fades out, nothing new starts, looping turns off; the signal finished(fx) says when it is over. For the whole scene: UnholyHazardFx.quality (0, 1 or 2: detail of the grounds and warnings) and UnholyHazardFx.ground_brightness (0 dark floor to 1 snow; raise it on pale floors so the grounds stay readable). Ground circles (new in 1.1.0): the warnings and grounds the effects lay on the floor are soft circles by default, with no line round the edge and the inside fading out toward it. circle_rim (the line round the edge: 0 none, the default; 1 the crisp edge), circle_edge_fade (how much the inside fades toward the edge: 1 gone at the edge, the default; 0 even; it never fades the edge line) and circle_opacity (1 all, the default; 0 none), each 0 to 1: for the whole game in Project Settings > Hazard Ground (Circle Rim, Circle Edge Fade, Circle Opacity, shown while the "Unholy Light" plugin is on), while the game runs as UnholyHazardFx.circle_rim and so on, for one effect in its "Ground circles" group (-1, the default, means the project's setting).
Unity
Every effect's component has autoplay, looping (plays again 0.6 s after it ends), destroyWhenDone, exactClock (re-simulates to its clock every frame: recordings, slow motion), and its colours tint, core, accent, shade (the dark at the heart of its light) and brightness (0 to 4); radius and windUp on the effects that have them, every part moving with them. Play() runs it again; Stop(secs) lets it go (0.3 s by default): what shows fades out, nothing new starts, its grounds go out their own way, looping turns off. Colours can change while it plays and it follows at once (Recolour() forces it); Scrub(t) shows the moment t exactly (Timeline). To read: T (its clock), Duration, Strike (seconds from Play to the blow), Playing, Done. Every part is an ordinary Particle System under the prefab: edit its modules as you would any other, and the component keeps the timing in step when windUp changes. The code is in namespace OddJelly.UnholyLight, the components under Add Component > Unholy Light. Ground circles (new in 1.1.0): rim, edge fade and opacity, each 0 to 1; the default is rim 0, edge fade 1, opacity 1, a soft circle with no line round it. For the whole project: Runtime/Resources/UnholyLightGroundCircles (Tools > Unholy Light > Ground Circle Settings); at run time for everything at once: UnholyFx.CircleRim, UnholyFx.CircleEdgeFade, UnholyFx.CircleOpacity, and UnholyFx.ReloadCircles() reads the asset again; per effect: circleRim, circleEdgeFade, circleOpacity on its component (-1: the project's), also while it plays. They take the settings in Play mode; the Scene view outside Play mode shows them as built. In the VFX Graph version the graphs expose CircleRim, CircleEdgeFade and CircleOpacity too.
Unreal
Every Niagara system has the same User parameters first: Tint, Core, Accent, Shade (the dark at the heart of its light), Brightness (0 to 4), Size (1 for a figure 1.8 m tall), then its own. Set End to 1 to let it go over EndSecs, then deactivate it; Doom is lifted (only before its pillar falls), Torment lets go and Blood Rain stops raining. BP_UnholyEffect wraps any system as an actor: Play, Stop (Secs), End (Secs), Recolour, Aim (From, To), Face (From, To), Bind (Targets), Hit (From), Shatter, and the events On Strike (Location) and On Finished; an effect ignores calls it does not use. Times are seconds, distances metres (Source, Target0-4: centimetres relative to the effect, as Unreal places things). The ones that end by themselves also come as looping versions (Effects/Looping/NS_Unholy<Name>_Loop) for showcases; in a game use the systems in Effects/. Ground circles (new in 1.1.0): rim, edge fade and opacity, each 0 to 1; the default is Rim 0, Edge Fade 1, Opacity 1, a soft circle with no rim line. For the whole game: the Material Parameter Collection Ground/MPC_UL_GroundCircles (Rim, EdgeFade, Opacity), in the asset or at run time with Set Scalar Parameter Value, or BP_UnholyEffect's Set Global Ground Circles; for one effect: its User parameters CircleRim, CircleEdgeFade, CircleOpacity (-1: the collection's), or BP_UnholyEffect's Set Ground Circles.
Godot GDScript
# A Pillar of Ruin at the target's feet: it plays at once and frees itself.
var pillar := UnholyPillar.new()
pillar.wind_up = 1.2
add_child(pillar)
pillar.global_position = target.global_position
# it strikes wind_up seconds later: deal the damage then
get_tree().create_timer(pillar.wind_up).timeout.connect(_on_pillar_struck)
# Doom on an enemy: three rings, then the pillar falls where they stand
var doom := UnholyDoom.new()
doom.target = enemy
doom.count = 3
add_child(doom)
doom.ring_closed.connect(func(fx, ring, left): print(left, " rings to go"))
doom.fell.connect(func(fx): _on_doom_fell())
# a cleanse before then: doom.break_doom()
# A hex bolt from the caster to the target, in sickly green
var bolt := UnholyBolt.new()
bolt.tint = Color(0.35, 0.9, 0.3)
add_child(bolt)
bolt.aim(caster.global_position, target.global_position)
# Soul Chain from the caster to three enemies, a drain tick on every beat
var chain := UnholyChain.new()
chain.target_nodes.assign([a, b, c])
caster.add_child(chain)
chain.drained.connect(func(i): _on_drain_tick(i))
# Torment until you let go
var torment := UnholyTorment.new()
torment.target = enemy
torment.hold = 0.0
add_child(torment)
torment.bound.connect(func(fx): enemy.global_position = fx.hold_point())
# later: torment.release()
# A shield on the player, struck, then broken
var shield := UnholyShield.new()
shield.demo = false
player.add_child(shield)
# when a blow lands: shield.hit(enemy.global_position)
# when it breaks: shield.shatter()
# Lasting rain, let go later; know when it is gone
var rain := UnholyRain.new()
rain.rain_time = 0.0
add_child(rain)
rain.tick.connect(func(i): _on_rain_tick(i))
rain.finished.connect(func(fx): print(fx.name, " is over"))
# later: rain.end() (or stop(0.8) on any effect)
Unity C#
using UnityEngine;
using OddJelly.UnholyLight;
public UnholyPillar pillarPrefab; // Assets/UnholyLight/Prefabs/UnholyPillar
public UnholyDoom doomPrefab;
public UnholyChain chainPrefab;
public UnholyTorment tormentPrefab;
void CastPillar(Vector3 target)
{
var pillar = Instantiate(pillarPrefab, target, Quaternion.identity);
pillar.windUp = 1.2f;
pillar.Play(); // (autoplay would too)
Invoke(nameof(PillarStruck), pillar.Strike); // it strikes Strike (= windUp) seconds later
}
void PillarStruck() { /* deal the damage */ }
// Doom on an enemy: three rings, then the pillar falls where they stand
void Condemn(Transform enemy)
{
var doom = Instantiate(doomPrefab, enemy.position, Quaternion.identity, enemy);
doom.count = 3;
doom.Play();
// doom.FallAt: seconds until it falls; a cleanse before then: doom.Break()
}
// Soul Chain from the caster to up to five enemies (points local to the effect)
void Drain(Transform caster, Transform[] enemies)
{
var chain = Instantiate(chainPrefab, caster.position, caster.rotation);
chain.targets.Clear();
foreach (var enemy in enemies) chain.targets.Add(chain.transform.InverseTransformPoint(enemy.position));
chain.Play();
}
// Torment: hold the enemy where the shackle closes
void Bind(Transform enemy)
{
var torment = Instantiate(tormentPrefab, enemy.position, Quaternion.identity);
torment.OnBound += fx => enemy.position = fx.HoldPoint();
torment.Play();
// later: torment.Release()
}
// Profane Shield: turn demo off, then shield.Hit(attacker.position); shield.Shatter();
// Blood Rain: rain.OnTick += i => DamageTick(); rain.End() stops it.
// Any effect: fx.Stop(0.8f) lets it go; fx.tint = ... changes it at once; fx.Done once it is over.
Unreal Blueprint
- Spawn System at Location: System
NS_UnholyPillar, Location the target's feet. Keep the returned Niagara component. To follow someone (Doom, Wither, Torment, Dark Pact): Spawn System Attached. - Set Niagara Variable (Float) on it:
WindUp 1.2. Colours with Set Niagara Variable (Linear Color): Tint, Core, Accent, Shade. - To let a lasting one go: Set Niagara Variable (Float)
End = 1, then Deactivate it. - Game side: spawn a BP_UnholyEffect actor instead, set its System, and call Play, Aim (From, To) (Hex Bolt, Ray of Ruin, Shadow Step), Face (From, To) (Hellrift), Bind (Targets) (Soul Chain), Hit (From) and Shatter (Profane Shield) or End (Secs) on it; bind your damage to On Strike (Location) and your clean-up to On Finished.
Maps/Examples (BP_UnholyExamples) shows six of these working: cast at a target's feet, throw a bolt, pick an effect from a list, your own colours, a lasting effect ended by hand, knowing when it is done.
It looks dull or flat.
Turn on bloom: in Godot Glow in the WorldEnvironment, or unholy_look.tres as it is; in Unity URP a Volume with Bloom and ACES and the camera in HDR (the Welcome window's Set up Bloom); in Unreal BP_UnholyLook or your own post-process. The effects are red light made to bloom, with dark hearts drawn over it. Raise brightness over 1 for more glow. On snow or sand raise UnholyHazardFx.ground_brightness (Godot) so the grounds and warnings stay readable.
The circles on the ground are too strong, or I want the old look back.
Since 1.1.0 every engine has three settings for them, each 0 to 1: rim (the line round the edge), edge fade (how much the fill fades toward the edge; it never fades the rim) and opacity (all of it; 0 draws none). The default is rim 0, edge fade 1, opacity 1: a soft circle that fades out, with no line round it. Rim 1 with edge fade 0 gives the look of the earlier versions exactly. Godot: Project Settings > Hazard Ground, UnholyHazardFx.circle_rim at run time, or the effect's Ground circles group. Unity: Tools > Unholy Light > Ground Circle Settings, UnholyFx.CircleRim at run time, or circleRim on a component. Unreal: Ground/MPC_UL_GroundCircles, or CircleRim on a system. They change only what is drawn: where a warning hits, its size and its timing stay the same.
Why are the hearts black? Is that a tinted glow?
No. The dark parts are drawn as near-black over the red light, not as a glow tinted dark, so they read as dark even with bloom on. Their colour is shade; set it to a deep purple or green for a different darkness.
URP or the Built-in renderer?
Both. The Particle System version runs in URP and in the Built-in renderer with the same shaders (plain HLSL) and looks the same; only bloom is set up differently: a Volume in URP, the Post Processing package (or the demo's UnholyDemoLook) in Built-in. The VFX Graph version is URP only. HDRP is not tested.
Do I need the VFX Graph package?
No. The Particle System version is complete on its own. The VFX Graph version is an extra for URP projects that use VFX Graph (Unity 6000.0 to 6000.3): install Visual Effect Graph from the Package Manager, then import UnholyLight_VFXGraph.unitypackage from the UnholyLight folder; importing compiles its graphs, so give it some minutes. It adds a .vfx graph and a prefab for every effect (UnholyPillar_VFX...) with the same component and calls, the graphs' exposed properties (Tint, Core, Accent, Shade, Brightness, WindUp and the effect's own) and its own demo scene (UnholyShowcase_VFX). Without the package, don't import it.
Which engine versions and renderers are tested?
Godot 4.4, 4.5, 4.6 and 4.7, with the showcase and the arena in Forward+, Mobile and Compatibility. Mobile draws them as Forward+ does; Compatibility draws the same effects, its floors and fill light a little brighter. Godot 4.3 and older are not supported. Unity: the Particle System version in 6000.0, 6000.3 and 6000.6, each in Built-in and URP; the VFX Graph version in 6000.0 to 6000.3 (URP with Visual Effect Graph). In 6000.6 the VFX Graph version's player builds fail, so it is not claimed there. Unreal 5.4, 5.5, 5.6, 5.7 and 5.8: each download opened as a buyer gets it, with every map and effect played.
Phones and the web?
Not tested yet. The Godot version runs in the Mobile and Compatibility renderers, but it was tried on a computer, not on a phone, and no web export has been tried. If you try one, we would like to hear how it went.
Why is the download so small?
Every effect is drawn by shaders on simple meshes: no flipbooks, no sprite sheets, one small shared noise texture. So the Godot download is about 0.3 MB, the Unity package about 30 MB with the VFX Graph version inside, the Unreal ones about 16 and 22 MB with their four maps, and the effects stay sharp at any resolution and any distance.
Can I change the colours?
Yes, every effect, in every engine: tint (blood red by default), core (its hottest part), accent (the deeper second hue), shade (the dark parts) and brightness. A sickly green, a violet or an icy blue are a change of tint. They can change while an effect plays: Godot and Unity follow at once, Unreal through Recolour on BP_UnholyEffect.
What do they cost to run?
Run the benchmark on your own machine: in Godot unholy_light_demo/benchmark.tscn, in Unreal Maps/Benchmark. Both have 1 Horde (100 effects at once), 2 Raid (a big effect and 20 Pillars of Ruin), 3 Everything (all 18 x 5), + / - for more or fewer, with a live readout. What costs most is soft light filling the screen (keep big effects away from the camera on weak machines, or lower the resolution scale) and starting many effects a second. Godot: each effect builds its parts when it plays, so reuse one with play() if you cast hundreds; UnholyHazardFx.quality 0 lowers the detail of the grounds. Unity: leave exactClock off in a game (it re-simulates every frame); the demo scene plays all 18 at once. Unreal: every system has a Niagara Effect Type, so far-off and surplus effects are culled by Unreal's scalability (Effects quality: up to 150 m at Epic, 60 m at Low; lasting effects pause instead of vanishing).
Can I scrub them or record them?
Yes. Every effect runs on its own clock, so it looks the same in the editor, in a game, at any frame rate and in a recorded video. In Unity Scrub(t) shows any moment exactly (Timeline). In Unreal every system uses fixed seeds: an effect looks the same every time.
Will it clash with Holy Light or another pack of ours?
No. In Godot each pack carries its own copy of the grounds and warnings under its own names (here UnholyHazardGround, UnholyHazardMark, UnholyHazardFx), so the packs never get in each other's way, whatever order you install them in. In Unity everything lives in Assets/UnholyLight, its code in namespace OddJelly.UnholyLight; in Unreal in its own folder, /Game/UnholyLight.
Every effect is our own code and shaders, and no outside assets are included.