So, uh. Depth of Field doesn’t seem to affect sprites whatsoever, for some reason.
As you can see in this shot, the 3D cubes are very clearly affected on my background camera, but any 2D
Sprites are ignored and blurred the same way regardless of distance from the perspective camera.
This is using the new Post Processing script Unity is pushing as the successor to Image Effects; although I believe it failed to work just the same.
How can I remedy this? Do Unity sprites not write to Z-depth? Do I need a specific material or shader on these sprites in order to do this? If so, can somebody point me to an otherwise identical unity sprite shader that writes to Z-depth?
(Edit: I’ve attempted to create a duplicate of the Unity default Sprite shader and switch Zwrite from Off to On; but it seemed to make no effect whatsoever.)