@Override
    protected void setDepthTexture(Texture depthTexture) {
        this.depthTexture = depthTexture;
        if (enabledSoftParticles && depthTexture != null) {
            initSoftParticles(viewPort, true);
        }
    }
A filter to handle translucent objects when rendering a scene with filters that uses depth like WaterFilter and SSAOFilter
just create a TranslucentBucketFilter and add it to the Filter list of a FilterPostProcessor
@author Nehon
jme3-effects/src/main/java/com/jme3/post/filters/TranslucentBucketFilter.java