# Voronoi translate?

**URL:** <https://blenderartists.org/t/voronoi-translate/1276543>\
**Category:** Materials and Textures\
**Created:** [January 6, 2021, 9:36pm UTC](https://blenderartists.org/t/voronoi-translate/1276543 "2021-01-06T21:36:38Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Secrop](https://blenderartists.org/user_avatar/blenderartists.org/secrop/32/20093_2.png) [@Secrop](https://blenderartists.org/u/Secrop)\
**Post date:** [January 10, 2021, 1:03am UTC](https://blenderartists.org/t/voronoi-translate/1276543/8 "2021-01-10T01:03:24Z")

</div>

> [@espr3ss0](#):
>
> The image is from someone else’s suggestion.

Actually, the image is mine. And I posted it in a [thread that you started](https://blenderartists.org/t/giraffe-material/1178491/11)!  
If I didn’t expand much the my answer in this thread, it’s because I already said most of it more than an year ago…

If you choose to use OSL, you could adapt [this script from Michel Anders](https://github.com/sambler/osl-shaders/tree/master/random-noise/MA4d_voronoi) to output all 4 values stored in the `da[]` array.

With nodes is a bit more complicated, but most of it is just a repetition. You might look at [this old post](https://blenderartists.org/t/secrops-cycles-loop-node/689357/17) where I do a 2d Voronoi.  
Making it 3d, is just a matter to duplicate a more modern version of that nodegroup 27 times (instead of 9 of the 2d version).

---

_[View the full topic](https://blenderartists.org/t/voronoi-translate/1276543)._
