0

I was looking at this post (How to add a Particle Texture?) and was wondering if it were possible to set the particles to random image textures such as playing cards.

Currently, I have a particle emitter that just shoots out card shaped cuboids. Do I need to add each individual card texture to the particle texture tab and add texture randomisation there or do I need to set up the Dupli Object (render tab of textures) to randomise the textures? Ether or I'm not sure how to achieve texture randomisation. Is there a way to do this?

Dzyuv001
  • 127
  • 6

1 Answers1

1

This setup is a bit fiddly but it gets the job done :-P

Render

The particle system needs to be set to render a UV unwrapped object, in this case it's a simple plane.

(The billboard particle sadly doesn't work in cycles 2.79b. In Blender Internal there is already functionality to randomise with tiles in the billboard particle settings.)

Node network for material

I am using the object random input in the material to get a normalised random scalar (0 - 1). I can then use this to scale and offset the uvmap to select one of 4 images in a texture.

The input value (2) is the number of horizontal and vertical tiles and can be changed if needed.

Texture with 2 x 2 tiles

Jackdaw
  • 4,099
  • 11
  • 23
  • Would it be too cheeky of me to ask you to add the file to the post? I never really got too deep into the node editor and that looks a little intimidating. With the file it is easier to play around and see how this whole thing works. – Dzyuv001 Feb 06 '19 at 21:22
  • 1
    Sure... just needed to learn how to do that properly first :-) I have updated the my answer with a link to the blender file just below the render. – Jackdaw Feb 06 '19 at 21:36
  • Thank you, it's a lot more clear now what I have to do. – Dzyuv001 Feb 06 '19 at 21:41