softDepthFade property

double softDepthFade
getter/setter pair

Soft-particle fade distance in world units, 0 (the default) off.

When set, fragments fade out as they approach the opaque geometry behind them, so fog, smoke, and dust dissolve through terrain and props instead of cutting a hard intersection edge. A nonzero value requests the scene depth input, which turns on the camera depth prepass.

Implementation

double softDepthFade = 0.0;