3
$\begingroup$

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

Node Layout

Gradient method

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

enter image description here enter image description here

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.

enter image description here

I want to avoid the consistent horizontal cropping that occurs with the gradient texture method. I've highlighted some examples in the above image.

$\endgroup$
1
  • $\begingroup$ can u please show us a end result sketch or picture what you want to achieve? $\endgroup$
    – Chris
    Commented Jan 26, 2022 at 13:12

2 Answers 2

3
$\begingroup$

you can mask out pretty easy like this:

enter image description here

but i have no idea how you want to blend out this to another (what texture?) and how it should look like.

But maybe this already helps you.

or do you mean like this?

enter image description here

$\endgroup$
2
  • $\begingroup$ Thanks, I want to Blend it over another texture like the second image. Trouble is I need to control the blend with textures not position as it needs to be on a larger model more complex model. $\endgroup$
    – RexBanner
    Commented Jan 26, 2022 at 16:33
  • 1
    $\begingroup$ so please improve your question with a sketch/image, how it should look like. Thanks. $\endgroup$
    – Chris
    Commented Jan 26, 2022 at 16:36
2
$\begingroup$

Is this it? (the squares show the accumulated output of each node)

enter image description here

  1. Your texture-space.. (could be UV, or Generated.. etc.)
  2. Sample the texture-space at the 'Positions' of Voronoi cells
  3. Sample some other texture at those positions
  4. Put through a threshold to create a mask
$\endgroup$
1
  • 1
    $\begingroup$ This is ideal! I can still control the edges with a texture but using the position vector in this way allows me to control whole cells in the Voronoi. $\endgroup$
    – RexBanner
    Commented Jan 28, 2022 at 11:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .