5
$\begingroup$

Say I have a UV sphere with a simple Voronoi texture

enter image description here

Now I run the Cell fracture add-on, and I get

enter image description here

We see that the old texture is applied individually for each cell, so the end result does not look like a fractured version of the old sphere. Is there any way to preserve the texture into each cell so that it globally looks like the old texture? Some approaches that come to mind are

  • For example, a possibility would be to remove the shader from the cells, and then "project" the material from the original sphere (by scaling it up a little, perhaps). Is this doable?

  • Another option would be e.g. to join the cells (in which case the original pattern is recovered, because the texture is applied to the joined object, which is essentially identical to the original sphere). Can we separate the cells again, this time preserving the texture?

$\endgroup$
6
$\begingroup$

The easiest solution is to use UV coordinates.
After fracturing the UV map is separated for each 'shard' and the texture stays in place.


The main downside are 'seams' along the edges of the original UV map. enter image description here


For seamless look:

Use an empty to control the Voronoi texture :).

  1. Add an Empty in the same place as your sphere
  2. Change the Texture coordinates to Object > Empty
  3. Now fracture your sphere, and the texture will stay the same

Now bake the result for each individual shard.


One solid sphere. One fractured sphere. Each has it's own empty, textures look the same enter image description here

$\endgroup$
6
  • $\begingroup$ Thanks! This is a nice trick but unfortunately it doesn't quite work: as soon as I move a cell, its pattern is all messed up again. So it only works as long as the fractured cells stay in the exact same position as the original sphere (which kinda defeats the purpose of fracturing the object in the first place). Any idea how to "apply" the pattern so that it stays fixed if we move the pieces around? $\endgroup$ – AccidentalFourierTransform Nov 7 '20 at 20:50
  • 1
    $\begingroup$ Hey :). Sure. You need to bake the texture for those 'cell' objects, so it stays in place when you move them. It's called 'texture baking'. $\endgroup$ – Jachym Michal Nov 7 '20 at 20:57
  • $\begingroup$ I see. I guess this is a great time to learn how to bake textures ;-P Thank you for your help! $\endgroup$ – AccidentalFourierTransform Nov 7 '20 at 21:05
  • $\begingroup$ Hey :). No need. If you use UV mapping, it works even with cell fracture. I'll edit the answer :). $\endgroup$ – Jachym Michal Nov 7 '20 at 21:07
  • 3
    $\begingroup$ Brilliant :: kisses fingers :: works like a charm. Cheers! $\endgroup$ – AccidentalFourierTransform Nov 7 '20 at 21:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.