I’m doing the Robot Texture Painting exercise, and i am having an annoying problem with a custom brush i created, a “Line” stroke method, in order to paint stripes.

Some stripes are perfectly fine, with a “straight edge”, while other have very jagged edges.
Do you know how i can avoid this problem ?
(i thought it was a texture resolution problem, and deleted my 2K texture to create a 4K one, but this didn’t help).