This was caused by `mod` not being available to integer types. It isn't part of the GLSL stadard officially. In this particular case, it is not needed. so replace it with the `%` operator.
This was caused by `mod` not being available to integer types. It isn't part of the GLSL stadard officially. In this particular case, it is not needed. so replace it with the `%` operator.