Niagara and VFX

Where a prop's effects live in SDF 2.0 (its shared Material), hits that do not break shown at the struck point, wood chips, ceramic and stone hit shards, the glass and stone effects, splinters that take on the broken object's texture, the five VFX events, external listeners and the built-in spawn budget.

A prop shows what happens to it: splinters, chips and dust when wood breaks, glinting shards when glass shatters, stone chips and a rolling dust cloud when a statue comes apart, and a small burst at the struck point on every blow it withstands. Every effect goes through the same request path, so SDF can spawn it or hand it to your own presentation system.

Where a prop’s effects live

In SDF 2.0 a prop’s effects come from its Material (USDFDestructionMaterial): Break Effects, Light Impact Effects, Heavy Impact Effects and Debris Impact Effects. A setup that references a Material hides these fields on its profile, and the Material’s values replace the profile’s. A setup without a Material, as several demo props are, carries them on its own profile, as in SDF 1.0. See Behaviors and Materials.

No exception changes effects. To change one kind of prop only, duplicate the shared Material into your project content, set the copy’s effects, and pick the copy for that setup: Material in Modify Destructible…, or section 3. What Is It Made Of? of Create Destructible. The one exception that touches effects is the Surface Responses table, which picks debris landing effects by surface; see Surface Responses.

The supplied materials select these effects:

MaterialBreakHit that does not break
WoodNS_SDF_Impact_WoodNS_SDF_Hit_Wood: small splinters, chips and a little dust
CeramicThe ceramic impact effectThe ceramic impact effect, smaller
StoneNS_SDF_Impact_StoneNS_SDF_Impact_Stone, smaller
GlassNS_SDF_Impact_GlassNS_SDF_Hit_Glass: a few small shards and sparkles
Metal, ChainTheir family template’sNo hit effect
RopeIts family template’sNo effect

Wood, Wooden Crate, Wooden Barrel, Wooden Furniture and Wooden Coffin setups pick the Wood Material, and their Runtime templates select the same wood effect. The supplied Niagara systems are under /SoulsDestructionFramework/SoulsDestructionFramework/FX/Niagara; enable Show Plugin Content to find them.

Hits that do not break

A hit that does not break a prop plays its Material’s Light Impact Effects or Heavy Impact Effects at the struck point, together with its hit sound, so the player can tell the prop is taking damage. The break itself still plays the full effect, once.

  • Wood chips. The supplied Wood material uses NS_SDF_Hit_Wood: the splinters, chips and dust of the wood break effect, far fewer, smaller and slower, so they drop close to the struck point and are gone within a second. Every wooden demo prop — the door, barrels, bucket, cart, coffin, crates, barricade and furniture — throws these chips on a blow it withstands.
  • Ceramic and stone hit shards. Ceramic and Stone play their impact effect, smaller. Its shards pass through the invisible hit box of a prop that does not break, as wood splinters do: a shard thrown at a pot that holds never rests on its hit box.
  • Glass. NS_SDF_Hit_Glass shows a few small shards and sparkles by the struck point, gone within a second.

The Material’s Impact Presentation Cooldown (0.15 s on the supplied materials, 0.2 s on Stone, 0 by default on a new Material) is the shortest time between two hit presentations of the same prop, so a flurry of hits stays readable. Light or heavy is chosen by HeavyImpactVFXMinimumPower (Heavy) and HeavyImpactVFXMinimumImpulse (600). An indestructible prop, and a prop whose attacker may not break it, still shows its hit effect.

Glass

Glass has its own effects, as wood does. When it breaks, NS_SDF_Impact_Glass throws thin glinting shards and a spray of sparkles, and no dust; the pieces of the pane or the bottle still fall as physical fragments. On a hit that does not break it, NS_SDF_Hit_Glass shows a few small shards and sparkles by the struck point.

  • The supplied Glass material, the Glass and Glass Vessel Runtime templates, and the demo bottles and stained glass select them.
  • The shards use M_SDF_GlassShard: pale green, nearly clear, with sharp highlights. Its Tint, Opacity and Roughness parameters change the glass, in a Material Instance.
  • The sparkles use M_SDF_GlassGlint_Sprite, added onto what is behind. Its Intensity parameter makes them brighter or dimmer; the particle colour tints them.
  • Glass effect shards collide on the Camera channel like the wood splinters, so they pass through the broken pieces and the invisible hit box of a prop that does not break.

The physical shards of a broken pane also leave its plane and are heard landing; see Runtime glass fracture and Glass shards landing.

Stone

Stone breaks raising its dust, as wood and ceramic do. NS_SDF_Impact_Stone throws stone chips and small chunks, and raises a grey-white dust that rolls along the floor; the stone itself still falls as its physical blocks. The supplied Stone material plays it when stone breaks and, smaller, on a hit stone withstands. The Stone Runtime template and the demo statue and gravestone select it for their break.

Stone setups made with SDF 1.0

In 1.0 the Stone material and template played NS_SDF_Dust_Stone alone, whose sprites spread to 9 to 14 m and could not be seen. A stone setup generated before keeps the break effect it was given: select NS_SDF_Impact_Stone in its Break Effects, or regenerate it.

The five events

ESDFVFXEvent:

EventEmitted when
LightImpactA hit that does not break the prop, below the heavy VFX thresholds
HeavyImpactSuch a hit at or above HeavyImpactVFXMinimumPower or HeavyImpactVFXMinimumImpulse
BreakThe object is destroyed
DebrisImpactA debris piece collides fast enough
CustomRequested explicitly by your own code, with a name

Custom is what makes the VFX layer extensible without touching the framework: your gameplay can request a named effect through the same deterministic, budgeted path as the built-in events.

Weighted variations

Each event reads an array of FSDFWeightedNiagaraSystem. Each entry configures a system, weight, scale, location offset and spawn delay; it does not build an emitter.

PropertyDefaultMeaning
SystemnoneSoft UNiagaraSystem reference
Weight1.0Relative selection weight
MinimumScale(0.9, 0.9, 0.9)Lower bound of the random scale
MaximumScale(1.1, 1.1, 1.1)Upper bound
bOrientToImpactNormaltrueOrient the system to the blow (see below)
RotationOffsetzeroRotation applied after orientation
SpawnDelaySeconds0Holds the effect back after the break, so a burst is not hidden inside pieces that have not separated yet
LocationOffsetzeroWorld-space offset of the spawn point, to lift a burst clear of the debris pile and the floor

Soft references mean the Niagara assets are loaded on demand, not pinned by every Material that mentions them. Empty and zero-weight entries are ignored safely.

Orientation

With bOrientToImpactNormal enabled, the system’s local Z axis is aligned to the direction the blow was travelling — away from the attacker — then RotationOffset is applied. When no travel direction is known, the inverted impact normal stands in. The property keeps its historical name: aligning to the raw impact normal threw every debris burst back into the player’s face, so the implementation follows the blow instead.

Disable it for effects authored in world space, such as a volumetric burst that should always rise vertically regardless of which face was hit.

Splinters that look like the object

The supplied wood break effect (NS_SDF_Impact_Wood, used by every wood preset) makes its splinters and chips belong to the object that broke:

  • They start where you struck it and burst up and along the swing — never back into the object, where a tall prop’s back or openings would catch them.
  • They never hang in the air. Splinters collide on the Camera trace channel, which every SDF debris body ignores: they fly through the broken pieces and land on the real floor. A splinter that still stalls above the floor the object stood on is removed, and every splinter shrinks away at the end of its life instead of popping. The shards of the ceramic and stone impact effects collide on the same channel.
  • They take on the object’s look. Splinters show the object’s own base colour texture, each from a different spot; chips are tinted from it and keep their shapes. A light oak bench throws light oak splinters; a dark crate throws dark ones.

How the texture is found

  1. When SDF generates, regenerates or modifies a destructible, it records the texture wired into the dominant material’s Base Color in the profile’s Source Appearance (SourceAppearance, an FSDFDebrisAppearance: BaseColorTexture, AverageColor, bValid). Setups made before this feature pick it up the next time they are regenerated or modified.
  2. Without a recorded texture, SDF inspects the material at runtime and keeps colour textures only — sRGB, not normal, roughness, AO or mask maps — preferring names such as BaseColor, Albedo, Diffuse, _BC or _D.
  3. Virtual textures are skipped. When nothing qualifies, the splinters keep the supplied wood look.

The texture feeds SDF’s own particle materials, M_SDF_WoodSplinter_Source and M_SDF_WoodChip_Source. The object’s material is never put on particles: a material without the Niagara usage flags renders as the grey default checker in a cooked game.

User parameters written on every built-in spawn

SDF sets these on the spawned component before it activates. A custom system must declare and consume compatible user parameters; setting a value alone does not connect it to an emitter, and systems that do not declare them ignore them.

NameTypeMeaning
SDFImpactDirectionVector3Normalized hit direction blended with the surface normal, with a safe fallback
SDFImpactStrengthFloatDestruction Power: VeryLight 0.6, Light 0.85, Medium 1.0, Heavy 1.4, Massive 1.8
SDFRandomSeedInt32Seed carried by the request
SDFSplinterOriginPositionThe struck point (break location when the hit carried none)
SDFSplinterDirectionVector3Burst direction: mostly up, along the swing, a little out of the struck face; never into the object
SDFBoundsMin, SDFBoundsMaxPositionWorld bounds of the intact object; SDFBoundsMin.Z is the floor it stood on
SDFSourceBaseColorTextureThe object’s base colour texture, or none
SDFUseSourceTextureFloat1 when a texture was found, else 0
SDFSourceColorLinear ColorAverage colour of that texture, recorded at authoring

Strength is not raw damage or projectile speed. These parameters do not promise bit-identical GPU simulation.

For a duplicated wood system, keep the emitter names NE_SDF_Splinters and NE_SDF_WoodChips, or bind the parameters yourself in the renderer’s Material Parameters, then run the editor command SDF.Dev.SetupSplinterEffect /Game/Path/NS_YourWood.NS_YourWood. It wires the texture user parameter into the renderers’ material bindings and saves the system.

Pass user parameters as module inputs

The supplied splinter modules receive User. values through module inputs bound to the user parameters, not by reading them inside custom HLSL. Keep those bindings when editing, and recompile after every change: one emitter that fails to compile stops the whole effect.

Customize without C++

  1. Duplicate the Niagara System into your own project content, together with the materials, textures or modules you intend to edit, and update the duplicate’s references.
  2. Duplicate the shared Material the object uses, assign your system to the copy’s Break Effects (or its hit effects), and pick the copy for that setup.
  3. Keep Enable VFX Requests and Enable Built In VFX Spawning on in that Material for SDF-managed presentation.
  4. Test a committed break in the actual level. A surviving contact need not trigger a break effect.
  5. If your integration consumes OnDestructionVFXRequested, disable built-in spawning to prevent duplicates. The external implementation owns its spawned effects.

For new setups to start with your effect, pick your Material copy in 3. What Is It Made Of? when you generate. Plugin-owned presets and Runtime templates may be refreshed at Editor startup; the shipped Behaviors and Materials are never overwritten once they exist, but a variant is safest as a duplicate in your own content.

Deterministic selection

SelectWeightedVFXVariation(Variations, RandomSeed, OutScale, OutRotation, ImpactNormal, ImpactDirection) is a pure, static, Blueprint-callable function. The same seed yields the same system, scale and rotation.

Built-in spawning versus delegates

PropertyDefaultEffect
bEnableVFXRequeststrueMaster switch: emit VFX requests at all
bEnableBuiltInVFXSpawningtrueAlso spawn the selected Niagara system directly

Requests are always emitted

As with audio, disabling built-in spawning keeps the requests flowing. An external presentation system receives a fully resolved selection — system, scale, rotation, seed, delay — and decides what to do with it.

The request payload

FSDFDestructionVFXRequest:

FieldMeaning
EventWhich of the five events
CustomEventNameSemantic identifier, meaningful for Custom
SourceActorThe destructible
LocationWorld position
ImpactNormalSurface normal
ImpactDirectionDirection of the causing hit
RotationResolved rotation
ScaleResolved scale
ImpactSpeedSpeed associated with the event
DestructionPowerPower of the causing hit
SelectedSystemThe Niagara variation picked
RandomSeedSeed used
SelectedVariationIndexIndex into the array
SpawnDelaySecondsThe entry’s delay, so an external listener can honour the same timing
SplinterOriginWhere splinters start: the struck point on a break
SplinterDirectionBurst direction for splinters
SourceBoundsWorld bounds of the intact object
AppearanceFSDFDebrisAppearance of the broken object (texture, average colour, valid flag)
bBuiltInSpawnRequestedBuilt-in spawning was configured
bBuiltInSpawnAttemptedA spawn was actually attempted
bBuiltInSpawnSuppressedByBudgetThe per-frame built-in VFX budget suppressed it

A delayed spawn whose prop was reset or torn down before the delay ran out is cancelled rather than played over the restored object.

Requesting a custom effect

RequestVFXEvent(Event, Location, ImpactNormal, ImpactDirection, ImpactSpeed, DestructionPower, RandomSeed, CustomName) on the destructible component resolves and emits one request. Pass Custom with a CustomName that your presentation system understands, and populate CustomEffects on the profile if you also want built-in spawning.

DestructibleComponent->RequestVFXEvent(
    ESDFVFXEvent::Custom,
    ImpactLocation,
    ImpactNormal,
    ImpactDirection,
    /* ImpactSpeed */ 0.f,
    ESDFDestructionPower::Medium,
    /* RandomSeed */ -1,
    TEXT("EmberBurst"));

Where to listen

ScopeDelegate
One objectUSDFDestructibleComponent::OnDestructionVFXRequested
Whole worldUSDFDestructionSubsystem::OnDestructionVFXRequested

The global delegate is the correct integration point for a pooled particle manager or a custom Niagara routing layer.

Debris impact VFX

Throttled by the same pattern as audio, on the Material:

PropertyDefault
MinimumDebrisImpactVFXSpeed200
DebrisImpactVFXCooldown0.15 s
MaximumDebrisImpactVFXPerDebrisActor1 (0–32)

A Surface Responses table can replace the debris impact effects by the surface a piece lands on; see Surface Responses.

Fire and explosions

The flames, smoke and char of a burning prop are set on the Behavior’s Fire module, not on the Material. SDF ships NS_SDF_Fire, NS_SDF_Fire_Smoke and the overlay M_SDF_Charred for it, and the material function MF_SDF_ThermalCharring for materials that char themselves. Max Burning Effects bounds how many fires show their flames at once. See Fire and burning props. An exploding prop plays its Material’s break effect; the demo powder keg uses NS_SDF_Barrel_Explosion from its own Material copy. See Explosions, break point and cover.

  • Fire’s lights. Since 2.0.1 a fire draws half as many lights, each twice as bright: as much light, and half the lights to render, since each of an effect’s lights is drawn on its own.
  • Fire arrows. SDF Fire Arrow burns NS_SDF_FlamingArrow on an arrow, in flight and where it plants, with a second burst turned to the surface where it strikes. An arrow destroyed, or put out by water, within 2.5 s of striking lets that burst go with it, and the burst’s light goes dark once its flash is over. See Fire arrows.

No hitch on the first effect in the editor

In Play In Editor, the first fire, fire arrow, break or dust of a session no longer stalls its frame for a tenth of a second (2.0.1). SDF’s Niagara effects are saved for this engine version, and an effect an engine update leaves out of date compiles in the background as the level starts, not on the frame it first plays. Packaged games never compile them.

VFX budget

MaxBuiltInVFXEventsPerFrame (default 64) caps built-in spawning only. External listeners keep receiving every request.

GetVFXStats returns FSDFDestructionVFXStats with TotalRequests, TotalBuiltInSpawnAttempts, TotalBuiltInSpawnsSuppressed, BuiltInSpawnAttemptsThisFrame, TotalDelayedSpawnsFired and TotalDelayedSpawnsCancelled. GetLastVFXRequest returns the most recent payload; ResetVFXStatistics clears the counters.

Budget your own spawns too

If you route VFX to your own system and disable built-in spawning, the framework’s VFX budget no longer protects you. Apply your own cap in the listener — a large radial event can legitimately produce dozens of requests in one frame.

Physical fragments are separate

Geometry Collection, Glass and Swap And Scatter fragments follow the debris settings (see Debris: keep, remove, budget and rest). Niagara dust and cosmetic splinters have their own lifetimes and velocities: changing Keep Debris in World or Remove Debris After Delay does not retime cosmetic particles. Determine which representation is moving before adjusting fragments that travel too far.

Supplied supporting assets

Paths are relative to /SoulsDestructionFramework/SoulsDestructionFramework/FX/. Inspect actual bindings in Niagara and the Reference Viewer rather than relying on a numeric recipe.

GroupAssets
Six mesh variantsMeshes/SM_SDF_WoodSplinter_01 through SM_SDF_WoodSplinter_06
Mesh texturesTextures/T_SDF_WoodDebris_BC, T_SDF_WoodDebris_N, T_SDF_WoodDebris_ORM
Sprite texturesTextures/T_SDF_WoodFragments_Atlas, T_SDF_WoodBurst
Dust texturesTextures/T_SDF_Dust_Wood_FC, T_SDF_Dust_Wood_MVN, T_SDF_Dust_Wood_ECD
Mesh materialsMaterials/M_SDF_WoodSplinter_Source (splinters), M_SDF_Debris_Wood, MI_SDF_Debris_Wood_Mid
Sprite materialsMaterials/M_SDF_WoodChip_Source (chips), M_SDF_WoodFragment_Sprite, M_SDF_WoodBurst_Sprite, MI_SDF_WoodBurst
Glass materialsMaterials/M_SDF_GlassShard, M_SDF_GlassGlint_Sprite
Dust materialsMaterials/M_SDF_Dust, MI_SDF_Dust_Wood
Dust emittersEmitters/NE_SDF_Dust_Puff, NE_SDF_Dust_Lingering, NE_SDF_GroundDust_Base, NE_SDF_GroundDust_Tuned
Niagara modulesNiagara/Modules/NM_SDF_RandomMeshIndex_P, NM_SDF_SplinterLaunch_P, NM_SDF_SplinterLifetime_U, NM_SDF_MaterialRandom_P
Other systemsNiagara/NS_SDF_Dust_Wood_Light, NS_SDF_Dust_Wood_Heavy

No additional chunk meshes need to be created to use the included wood effect. The library includes custom SDF Niagara modules; it is not exclusively stock Engine modules.

Replacement checks

  • Check replacement mesh size in centimetres, pivot, orientation, material slots and renderer scale together.
  • Verify colour space, normal orientation, packed channels, alpha and atlas layout against the consuming material. Renaming a texture does not change its bindings.
  • For missing effects, check the Material the prop really uses, the selected system, the request and spawn switches, the per-frame budget and whether a destruction committed.
  • For excessive or duplicated effects, check external spawning and Niagara settings, not only physical fragment settings.
  • Test bounds and culling, transparency and repeated breaks at gameplay distance in a rendered session and a cooked project. NullRHI and the Niagara preview alone cannot prove gameplay visual quality or performance.

Last updated: 2026-10-29

Type to search titles, sections and keywords.