mercredi 15 juin 2016

What is the best PRNG in 2016 for games? [on hold]

I started reading Game Coding Complete 4th edition. I'm now at the end of chapter 3 where it provides an implementation of the Mersenne twister pseudo random number generator which lead me on a couple hours long research on PRNGs.

So far I learned about middle-square, linear congruentials, xorshifts, WELL, fast SIMD Mersenne twister and a couple others.

Each and every single topic, article or paper I read about PRNGs points me towards another one claiming it's better than the one before or only includes comparisons of a small selection of them.

Does anyone knows enough about PRNGs to give me a straight answer on which one is the best in regard to performance and randomness? Since it's for game programming, it needs not to be in any way secure.

Thank you

Aucun commentaire:

Enregistrer un commentaire