I'm trying to render models and composite them into an existing image with known depth. However, one of model I use has hair made with a lot of semitransparent strands. When I render it with Cycles, depth values for some pixel on the hair have depth as if nothing is there:
That causes problems with compositing: background it showing where hair should be (using "Z Combine" node). I've tried LuxRenderer, and everything works as expected there. Is there a way to get proper depth values in Cycles? I've tried increasing transparent bounce count (both min and max). It still renders noisy depth (and perf tanks, which is a huge problem).
(exr render: https://yadi.sk/d/unyMODQ5-atJEw)