Index->Noise

i have a PRT Volume with magma, I pipe Index into a Noise Function and it returns 0 for all particles. Am I doing something wrong? I’m trying to get a random value for each particle.

The noise function in Magma is based on Perlin noise which is always 0 at integer values.

You should try adding 0.5 to the index, or multiplying by some non-integer. Its also worth mentioning that the noise pattern repeats itself at 255, so noise(0.5) == noise(255.5).

What I do when producing noise is divide the input value by a Float which is then exposed as the “Noise Scale”.
The higher the value, the smaller the input value of the Noise will be, and the larger the noise scale, esp. when using Position as the control channel.
But the same principle applies to using the Index channel…