GLSL110 Help with modulo

Hey, i currently try to make my sprite shader glsl110 ready. However it seems that i cannot get modulo working…

I tried:
% which requires gpu_ext_4

and

mod(float,int) or mod(int,int) say:
error C1115: unable to find compatible overloaded function "mod(float, int)

following the specs the mod operator should work… but my android devices and the nvidia compiler seems to refuse

Try mod(float, float)?

1 Like

hehe yeah. figured that out yesterdayt too… that glsl110… good that i missed that time