Texture painting in blender In sculpting mode you can switch between relative and constant detail, which determines if the stroke is affected by the distance to the mesh.

Is there something in texture painting that gives a similar result? I use thexture paint to create bumps, tthe issue is that i sometimes have to zoom in on the mesh. The problem is that it changes the size of the strokes effect.
In the 3d view, Texture Paint is not going to allow you to switch from screen space to relative space like you can in sculpt mode yet - but the work around is to use an Image Editor to paint in along side your 3d view so that you can use the consistent pixel size there.