How can I fix outline effect using depth fade?

you need a proper outline material