I'm trying to overlay a Voronoi noise texture in Blender, I'd like it to blend into another texture with fewer and fewer whole cells across a gradient. I've tried two methods but neither quite gives me what I want.
Method 1: Use a gradient texture and ColorRamp
This almost works but a lot of the cells are now cut in half because they now have a gradient across them and the color ramp is just doing its job.
Method 2: Adding the gradient texture then clamping
This is much closer the effect I'm after but there some holes in the Voronoi side and some cells are still cut.
I know you can use position output of the Voronoi node to filter based on cell centre coordinates but is there any way of thresholding based on the colour at the centre of the cell?
Any ideas on how to proceed greatly appreciated.
EDIT: The effect I am trying to achieve looks very close to the bottom image but without the holes in the top of the white region.
I want to avoid the consistent horizontal cropping that occurs with the gradient texture method. I've highlighted some examples in the above image.