**offset = (float)(frac(position.xy * 0.5) > 0.25); // mod offset.y += offset.x; // y ^= x in floating point** if (offset.y > 1.1) offset.y = 0; shadow