Sprite random texture

   6406   3   0
User Avatar
Member
4 posts
Joined: July 2010
Offline
Hi, I went straight to the question

I have a particle emitter sprites and I need different textures that are loaded randomly on different particles, but do not use more particle systems, I've tried various ways I have used but do not work on the sprite, that's because I've always used material or shader nodes, the problem is that the particles have to load a procedural shader from the render settings of the root node, how can I do?
User Avatar
Staff
5285 posts
Joined: July 2005
Offline
Create several SHOPs with the texture maps you want (I used the VEX Decal SHOP), all numerically increasing (v_decal1, v_decal2, … v_decal#). Then use this expression to reference them in the sprite POP's “Sprite SHOP” parameter:

./shopnet1/v_decal`1+$ID%2`

where ‘2’ is replaced by the number of texture maps (SHOPs) that you want to reference.
User Avatar
Member
183 posts
Joined: Nov. 2008
Offline
There was a similar question a couple of days ago…
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=22198 [sidefx.com] :!:
Aleksei Rusev
Sr. Graphics Tools Engineer @ Nvidia
User Avatar
Member
4 posts
Joined: July 2010
Offline
example of the file Stalkerx777 also works on my file thank, while the sample twod works in the sense that the sprite showing various materials loaded in the overview but you must also load them into procedural shaders in the root node is not otherwise render the sprite and will not work.
  • Quick Links