How to change the scale of dots in a shader in gradient-like pattern?
This setup is far from perfect but can give you some direction :

The trick is to use the &quot;Shader To RGB&quot; node to convert the lighting result into some usable value. This is an Eevee-only node.
For a greater variety of sizes, you can add more Voronoi textures and mix them in cascade, with greater then greater values in the top GreaterThan nodes.
I didn't manage to get a cleaner transition between the zones (some dots are cut in half, that doesn't look good).