---
title: "What are soft particles? Depth fade for VFX explained"
description: "Soft particles fade where a smoke or dust quad meets the ground or a wall, using scene depth, so no hard line cuts across the effect."
canonical: https://appliedmanifold.com/learn/soft-particles/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Learn](https://appliedmanifold.com/learn/)
3.  Soft particles

LEARN // EFFECTS

# What are soft particles

Soft particles fade out where a flat effect quad passes into scene geometry, so your smoke, dust or fire never shows a hard straight line where it cuts into the ground or a wall. The shader compares the depth of each particle pixel with the depth already drawn, and lowers opacity as the gap shrinks to zero.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [See the examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

-   Godot 4 Available
-   Unity Manual setup
-   Unreal Engine Manual setup
-   Roblox Studio Manual setup
-   three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

**DUST\_RINGFINAL**

![First frame of the dust\_ring bake](/bakes/dust_ring/poster.webp)

Dust ring, 10.5 x 2.2 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-dust_ring)

01 // HOW IT WORKS

## How the shader compares depths

Effects play on flat quads, and a quad that crosses the floor gets clipped along a sharp edge by the depth test. A soft particle shader reads the scene depth texture, subtracts the particle's own depth, and multiplies opacity by that gap divided by a fade distance, clamped to the range 0 to 1.

The fade distance needs tuning to the effect's size. Too short and the cut line returns; too long and a ground-level dust ring looks like it hovers. The scene must render a depth texture, which most engines do for transparent effects or let you switch on.

02 // IN YOUR ENGINE

## Turn on soft particles in each engine

-   Godot 4: Proximity Fade on a `StandardMaterial3D`, with a fade distance in meters.
-   Unity (URP): the Soft Particles option on the Particles shaders, which needs Depth Texture turned on in the URP asset.
-   Unreal Engine: a DepthFade node feeding the material's opacity.
-   three.js: render the scene depth to a texture and compare it in a `ShaderMaterial`; there is no built-in switch.

03 // REAL OUTPUT

## Effects that touch the ground

The dust ring spreads 10.5 m along the ground and the smoke column rises from it, so both need a soft edge where they meet the floor.

**SMOKE\_COLUMNFINAL**

![First frame of the smoke\_column bake](/bakes/smoke_column/poster.webp)

Smoke column, 8.2 x 9.9 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-smoke_column)

04 // SPATIAL COMPILER

## Depth fade in the Godot 4 scene

The Godot 4 scene your agent writes fades the effect where it meets scene geometry. Every compile also stores the effect's own depth in the blue channel of `main_aux.png` for this soft fade. See [depth fade](https://appliedmanifold.com/effects/sheets/depth-fade/).

05 // RELATED

## Related pages

-   [Depth fadeHow depth fade softens the line where a flat effect meets the ground, where depth sits in the sheets, and the soft particle option in each engine.](https://appliedmanifold.com/effects/sheets/depth-fade/)
-   [Dust along the ground Godot 4Keep dust particles low and flat in Godot 4 with Flatness, damping, Proximity Fade, flat cards and terrain collision.](https://appliedmanifold.com/guides/godot-dust-along-ground/)
-   [Godot dust ring Godot 4A 10 m ring of dust thrown out by a landing or a blast, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-dust-ring/)
-   [Billboard particlesBillboard particles are flat quads that turn toward your camera, so a flipbook frame of fire or smoke looks solid from any angle.](https://appliedmanifold.com/learn/billboard-particles/)
-   [Unreal dust Unreal EngineA dust burst that plays once, a landing ring or thrown earth, played in Unreal Engine by hand today.](https://appliedmanifold.com/effects/unreal-dust/)
-   [Dust puff on landing Godot 4Trigger a one-shot dust puff in Godot 4 when a CharacterBody3D lands, with ground-hugging particles and an optional precomputed dust ring.](https://appliedmanifold.com/guides/godot-dust-landing-effect/)
-   [Bake and wireCall `bake` with a `.pyro.toml` spec and an output folder, then `wire` to write a Godot 4 scene with the six-way shader. `check`, `schema` and `sweep` support the loop.](https://appliedmanifold.com/docs/pyrofx/bake-and-wire/)

[All pages in Learn →](https://appliedmanifold.com/learn/)

[← Flipbook motion vectors](https://appliedmanifold.com/learn/flipbook-motion-vectors/)[Billboard particles →](https://appliedmanifold.com/learn/billboard-particles/)

06 // FAQ

## Soft particle questions

[All questions →](https://appliedmanifold.com/faq/)

**README.SOFT\_PARTICLES**

### How do I turn on soft particles in Unreal Engine?

Add a DepthFade node to your particle material, multiply its output into opacity and set the fade distance in centimeters.

### How do I prevent dust particles from intersecting visibly with the ground?

Enable a soft depth fade like Proximity Fade in Godot so opacity drops near surfaces and spawn particles slightly above the floor.

### How do I make dust collide with terrain or stay close to uneven ground?

In Godot, add a GPUParticlesCollisionHeightField3D or collision box to stop particles at the surface while keeping soft fade enabled.

### Is a soft fade the same as fading a flipbook over its lifetime?

No, lifetime fading lowers opacity over time with an alpha curve, while soft particles fade by distance to scene geometry.

## Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Bake and wire →](https://appliedmanifold.com/docs/pyrofx/bake-and-wire/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
