Slider with 3 handlers vs Input fields

I am working on a feature were you need to distribute the total of the feature value (100%) between 4 factors, I think the best option is the input fields, but I like the visual feedback from the slider, any suggestion?enter image description here