I want to use Spine objects with a Depth of Field (DoF) effect. For this purpose, it was necessary to write depth to the buffer, so I used AlphaTest as instructed in the documentation. However, I've encountered an issue where a strange edge appears around the image when AlphaTest is applied.
The settings are as follows.
If I use Transparent RenderQueue, Spine object is rendered as expected, but depth is not written to buffer.
How can I solve this?