Make a flipbook show sprites in a random way
Hi everyone! I'm creating a material that uses a noise texture based on different sprites. I want to show those sprites in a random way, so they don't repeat the same sequence all time.
Is there a way to "randomize" the order in which the sprites are shown?
asked May 16 '19 at 02:23 PM in Rendering
Assuming you are using the FlipBook material function, you need a "random" scalar between 0 and 1. You can get one by multiplying sines(which have different periods) of time and taking the absolute value of the result.
Follow this question
Once you sign in you will be able to subscribe for any updates here