OptionaldepthA THREE.DepthTexture attached to the render target
that contains the scene's depth pass. Must be updated every frame before
the particle system renders.
OptionalenabledWhether soft particle fading is active.
OptionalintensityControls the fade distance in world units. Higher values produce a wider fade zone. Typical range: 0.1 to 5.0.
Configuration for soft (depth-faded) particles. When enabled, particles fade out smoothly near opaque geometry instead of producing a hard intersection line.
Requires a depth texture from a
WebGLRenderTargetwithDepthTexture. IfdepthTextureis not provided, soft particles are automatically disabled regardless of theenabledflag.Default
Default
Example