What it does

Soft Particles fade where particles intersect floors or walls, reducing a hard cut-out edge. They use the depth difference between the background and the particle to adjust transparency.

Figure: Subtract particle depth from scene depth in the same linear space, then divide by fade distance. A smaller gap fades the particle.
Figure: Subtract particle depth from scene depth in the same linear space, then divide by fade distance. A smaller gap fades the particle.

How to use it

Align background and particle surface to eye-depth units, divide their difference by a positive fade distance, clamp to zero–one and multiply the original alpha. Opaque Texture color is not depth.

A concrete example

This can soften the hard intersection of a smoke card with a floor. It does not create volumetric smoke or solve every intersection between transparent particles.

How to check it

  1. Use an opaque floor and compare fade width at several camera distances.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately
  2. Diagnose depth generation, timing and units; test transparent floors and orthographic cameras separately.
    Inspect background, foreground and transparency separately
    Inspect background, foreground and transparency separately

Limitations

Opaque Texture is color data; check transparent-background and orthographic limitations.

References