2 ms·
Are you suggesting you compared the result using Math.random() on CPU to the accelerated hash functions from https://www.shadertoy.com/view/XlGcRh https://www.s
by orangepurple 3y ago
Are you suggesting you compared the result using Math.random() on CPU to the accelerated hash functions from https://www.shadertoy.com/view/XlGcRh https://www.shadertoy.com/view/XlGcRh (linked from your source code comments)?
- modeless 3y agoI believe that was one of the tests that I ran, yes. It was a long time ago. Obviously the results are not numerically identical when different RNGs are used but they converge as the number of iterations is increased. That said, I think you are right that the RNG could be improved, even if it doesn't affect the results right now.