Excluding objects from depth of field.

Hello, I'm using the Shader Replacement depth of field script in my game, but I've found that it doesn't work well with particles. They become blurry no matter what range they are at. Is there any way to remedy this, or perhaps exclude the particle objects entirely from the auto-generated depth texture?

I have had the same problem, they seem to start to blur once they reach the horizon line.

Try duplicating your camera and layer your particles so it will only be rendered on the duplicated camera.
for now this is the only solution I can think.