x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Particle Expression: Particle Random Value Documentation?

Hey all.. I am doing some particle / material work. Can somebody explain the Particle Random Value / ParticleRandom expression to me? How is it driven? I don't see it listed in the docs. alt text ( https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ExpressionReference/Particles/index.html ) Thanks so much!

Product Version: UE 4.13
Tags:
more ▼

asked Sep 15 '16 at 10:37 PM in Using UE4

avatar image

oxygencube
26 6 13 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

this gives a random 0-1 value for any particle spawn. so one particle will have a value of 0.01 another 0.99, and another 1.0.. etc.

forgot the amount of variation but it was either 32 or 64 different values between 0.00 and 1.00. So if you hook this up with i.e. a hueshift each particle can have another color, etc.

more ▼

answered Sep 16 '16 at 12:26 AM

avatar image

Luos
9.3k 286 64 330

avatar image oxygencube Sep 16 '16 at 04:39 PM

Thanks for the quick reply... Does this work on GPU particles? I've got it hooked up to a debug node and it's showing all .0000 for me.

Until I saw this node I was using Particle Size to drive randomization of colors and it was working with GPU particles so I would imagine this should work as well.

EDIT: Ummmm actually I didn't have a GPU data type on that system.. as soon as I added a GPU type it worked.. is this the expected behavior? ie not working on CPU particles? alt text alt text

Cheers!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

yea, afaik it only works for gpu particles. (sorry, forgot to mention that)

more ▼

answered Sep 16 '16 at 04:54 PM

avatar image

Luos
9.3k 286 64 330

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question