Which file to download, how to set it up in Godot, Unity or Unreal, every effect with its settings, calls and signals, the ground circle settings, 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, before 1.1.0: the ground circles show the original rim line, which 1.1.0 leaves off by default. Unity and Unreal draw the same effects. Lasting effects stand until you let them go: Druid's Fire always (end() lets it die down); the Grove when its life is 0 (end()); Barkskin with demo off (shatter()). stop(secs) fades any of them out; freeing one takes it away at once. In Unity the Grove and Druid's Fire last until End(secs), Barkskin with demo off stands until Shatter() or Stop(), and Stop(secs) lets any effect go. In Unreal the Grove's Life 0 means until End, 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 (leaf green by default), core (a warm white), accent (gold) 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. Ground circles (new in 1.1.0): circle_rim, circle_edge_fade and circle_opacity in each effect's "Ground circles" group (-1, the default, means the project's setting); for the whole game in Project Settings > Hazard Ground, and at run time NatureHazardFx.circle_rim, circle_edge_fade, circle_opacity. For the whole scene: NatureHazardFx.quality (0, 1 or 2: detail of the marks on the floor) and NatureHazardFx.ground_brightness (raise it on pale floors, snow or sand, so the marks stay readable).
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 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 and brightness can change while it plays; 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. Ground circles (new in 1.1.0): circleRim, circleEdgeFade, circleOpacity on each component (-1: the project's); for the project in Runtime/Resources/NatureLightGroundCircles (Tools > Nature's Light > Ground Circle Settings); at run time for everything NatureFx.CircleRim, NatureFx.CircleEdgeFade, NatureFx.CircleOpacity. The code is in namespace OddJelly.NatureLight, the components under Add Component > Nature's Light.
Unreal
Every Niagara system has the same User parameters first: Tint, Core, Accent, 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; Grove sinks back into the ground and Druid's Fire dies down. BP_NatureEffect wraps any system as an actor: Play, Stop (Secs), End (Secs), Recolour, Aim (From, To), Face (From, To), Bind (Target), 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: centimetres relative to the effect, as Unreal places things). The ones that end by themselves also come as looping versions (Effects/Looping/NS_Nature<Name>_Loop) for showcases; in a game use the systems in Effects/. Ground circles (new in 1.1.0): for the whole game the Material Parameter Collection Ground/MPC_NL_GroundCircles (Rim, EdgeFade, Opacity), or Set Global Ground Circles on BP_NatureEffect; for one effect its User parameters CircleRim, CircleEdgeFade, CircleOpacity (-1: the collection's), or Set Ground Circles on BP_NatureEffect.
Godot GDScript
# A Sunbeam on the target: it plays at once and frees itself.
var beam := NatureSunbeam.new()
beam.wind_up = 0.6
beam.hit.connect(_on_sunbeam_hit) # the moment to deal the damage
add_child(beam)
beam.global_position = target.global_position
# A vine lash from the caster onto the target
var lash := NatureVineLash.new()
lash.hit.connect(_on_lash_hit)
add_child(lash)
lash.aim(caster.global_position, target.global_position)
# A volley of seeds, a hit for every seed that lands
var seeds := NatureSeedBarrage.new()
seeds.count = 12
add_child(seeds)
seeds.aim(caster.global_position, target.global_position)
seeds.seed_hit.connect(func(at): _damage_round(at))
# Entangling Roots on an enemy: root them while it holds
var roots := NatureEntanglingRoots.new()
roots.target = enemy
roots.hold = 2.5
add_child(roots)
roots.bound.connect(func(): _set_rooted(enemy, true))
roots.released.connect(func(): _set_rooted(enemy, false))
# Barkskin on the player, struck, then broken
var bark := NatureBarkskin.new()
bark.demo = false
player.add_child(bark)
# when a blow lands: bark.hit(enemy.global_position)
# when it breaks: bark.shatter()
# A Grove that stands until you end it, in autumn colours
var grove := NatureGrove.new()
grove.life = 0.0
grove.tint = Color(1.0, 0.55, 0.15)
add_child(grove)
grove.finished.connect(func(fx): print(fx.name, " is over"))
# later: grove.end() (or stop(0.8) on any effect)
# For an options menu: softer ground circles, or the look of 1.0
NatureHazardFx.circle_opacity = 0.6
# NatureHazardFx.circle_rim = 1.0; NatureHazardFx.circle_edge_fade = 0.0
Unity C#
using UnityEngine;
using OddJelly.NatureLight;
public NatureSunbeam sunbeamPrefab; // Assets/NatureLight/Prefabs/NatureSunbeam
public NatureVineLash lashPrefab;
public NatureEntanglingRoots rootsPrefab;
public NatureBarkskin barkskinPrefab;
void CastSunbeam(Vector3 target)
{
var beam = Instantiate(sunbeamPrefab, target, Quaternion.identity);
beam.windUp = 0.6f;
beam.OnHit += fx => DealDamage(target); // the moment it lands
beam.Play(); // (autoplay would too)
}
// A vine lash from the caster onto the target
void Lash(Transform caster, Transform enemy)
{
var lash = Instantiate(lashPrefab);
lash.Aim(caster.position, enemy.position);
lash.OnHit += fx => DealDamage(enemy.position);
lash.Play();
}
// Entangling Roots: root the enemy while it holds
void Entangle(Transform enemy)
{
var roots = Instantiate(rootsPrefab);
roots.Bind(enemy);
roots.OnBound += fx => SetRooted(enemy, true);
roots.OnReleased += fx => SetRooted(enemy, false);
roots.Play();
}
// Barkskin: turn demo off, then bark.Hit(attacker.position); bark.Shatter();
// Grove and Druid's Fire: grove.End(1f) lets them go.
// Any effect: fx.Stop(0.8f) lets it go; fx.tint = ... changes it while it plays; fx.Done once it is over.
// An options menu: NatureFx.CircleOpacity = 0.6f; (rim 1 + edge fade 0: the look of 1.0)
Unreal Blueprint
- Spawn System at Location: System
NS_NatureSunbeam, Location the target's feet. Keep the returned Niagara component. To follow someone (Entangling Roots, Rejuvenation, Barkskin, Druid's Fire over a hand): Spawn System Attached. - Set Niagara Variable (Float) on it:
WindUp 0.6. Colours with Set Niagara Variable (Linear Color): Tint, Core, Accent. - To let a lasting one go (Grove, Druid's Fire): Set Niagara Variable (Float)
End = 1, then Deactivate it. - Game side: spawn a BP_NatureEffect actor instead, set its System, and call Play, Aim (From, To) (Vine Lash, Seed Barrage, Swarm, Sprout Step), Face (From, To) (Wild Growth), Bind (Target) (Entangling Roots), Hit (From) and Shatter (Barkskin with Demo 0) or End (Secs) on it; bind your damage to On Strike (Location) and your clean-up to On Finished.
- Ground circles from a settings menu: Set Global Ground Circles (Rim, Edge Fade, Opacity) on any BP_NatureEffect, or Set Scalar Parameter Value on
MPC_NL_GroundCircles. Maps/Examples (BP_NatureExamples) shows six of these working: cast at a target's feet, aim at a target, 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 nature_look.tres as it is; in Unity URP a Volume with Bloom and ACES and the camera in HDR (Tools > Nature's Light > Set Up Bloom); in Unreal BP_NatureLook or your own post-process. The effects are light made to bloom. Raise brightness over 1 for more glow. On snow or sand raise NatureHazardFx.ground_brightness (Godot) so the marks on the floor stay readable.
The circles on the ground are too strong, or I want the old look back.
Since 1.1.0 the warnings and marks the effects lay on the floor are soft circles by default: no line round the edge, the inside fading out toward it. Three settings, each 0 to 1, change that: rim (the edge line: 0 none, 1 the crisp edge), edge fade (how much the inside fades toward the edge; it never fades the rim) and opacity (0 draws no circles at all). Rim 1 with edge fade 0 is the look of 1.0 exactly. Set them for the whole game (Godot: Project Settings > Hazard Ground; Unity: Tools > Nature's Light > Ground Circle Settings; Unreal: MPC_NL_GroundCircles), at run time for an options menu (NatureHazardFx.circle_rim..., NatureFx.CircleRim..., Set Global Ground Circles), or per effect (-1 means the project's). They change only how the circles look: sizes, timing and where a blow lands stay the same. In Unity the Scene view outside Play mode shows the circles as built; they take the settings in Play mode.
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); only bloom is set up differently: a Volume in URP, the Post Processing package (or the demo's NatureDemoLook) in Built-in. The VFX Graph version is URP only.
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 NatureLight_VFXGraph.unitypackage from the NatureLight folder; importing compiles its graphs, so give it some minutes. It adds a .vfx graph and a prefab for every effect (NatureMoonwell_VFX...) with the same component and calls, the graphs' exposed properties (Tint, Core, Accent, Brightness, WindUp) and its own demo scene (NatureShowcase_VFX). The parts that grow (vines, roots, thorns, bark, flowers) stay Particle System parts under its "Living Parts", played on the same clock. Without the package, don't import it.
Which engine versions and renderers are tested?
Godot 4.4, 4.5, 4.6 and 4.7: the showcase, each effect on its own 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. 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). Unreal 5.4, 5.5, 5.6, 5.7 and 5.8: each download opened as a buyer gets it and cooked, with every map, system and Blueprint checked.
Why is the download so small?
Every effect is drawn by shaders on simple meshes: the vines, flowers, thorns and bark are posed and grown by their shaders, there are no flipbooks or sprite sheets, and one small shared noise texture. So the Godot download is about 0.3 MB, the Unity package about 12 MB with the VFX Graph version inside, the Unreal ones about 15 and 20 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 (leaf green by default), core (its hottest part), accent (the gold of sparks, petals and bark) and brightness. Some come with colours of their own: Moonwell's silver moonlight, Sunbeam's sun, Poison Bloom's acid, Druid's Fire. A frost or a blight druid is a change of tint. In Godot and Unity they can change while an effect plays; in Unreal call Recolour on BP_NatureEffect after changing them.
What do they cost to run?
Run the benchmark on your own machine: in Godot nature_light_demo/benchmark.tscn, in Unreal Maps/Benchmark. Godot: 1 Horde (100 Vine Lashes and Entangling Roots at once), 2 Raid (a great Thornburst and 20 Sunbeams), 3 Everything (all 18 x 5), + / - for more or fewer, with FPS, GPU time, live particles and draw calls. Unreal: 1 Horde (100 Seed Barrages and Thornbursts), 2 Raid (Moonwell and 20 Thornbursts), 3 Everything, + / -, C the pack's instance caps. 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; play each effect once behind your loading screen, so the first drawing of its shaders happens there; NatureHazardFx.quality 0 lowers the detail of the floor marks. Unity: leave exactClock off in a game (it re-simulates every frame). 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; Grove and Druid's Fire 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 floor marks under its own names (here NatureHazardGround, NatureHazardMark, NatureHazardFx), so the packs never get in each other's way, whatever order you install them in. In Unity everything lives in Assets/NatureLight, its code in namespace OddJelly.NatureLight; in Unreal in its own folder, /Game/NatureLight.
Every effect is our own code and shaders, and no outside assets are included.