Black lines on edges after baking with cycles

Hi,

I have hosted cycles in my own application.
I am getting black lines on edges after baking combined texture with cycles. My UVs are generated using xatlas.
Is there anything I can do with cycles to fix this problem? Or I need to fix it at xatlas side?

Thanks in advance.

Probably you are missing the equivalent of the Margin setting in Blender:
https://docs.blender.org/manual/en/latest/render/cycles/baking.html#output

1 Like

Thanks a lot @brecht. You perfectly nailed it.
Perfect. I fixed id