Math Mix modulo issue

Hello, I have a POP setup that draws a line. I want to use the particle ID to use a texture with, so instead of infinitely increasing the values, mod it inbetween 0–6. But somehow the value (which is static in the ID) changes to 0 depending on the position of the line.

modulo issue.toe (4.4 KB)

Hello @fxduke_108

The modulo operation in mathmix1 is applied to VertIndex, an attribute that contains the line strip’s vertex IDs. You should apply the modulo operation to the PartId attribute to get the result you want.