Hi, I've been using NGUI for a couple of years now (paid version, of course!), but now I'm moving into uncharted waters (as it were), at least for me.
I'm in need of being able to "offset" the UVs of a UITexture, without clipping the texture. I can offset it just fine (see example), but it seems to clip the texture, then.
If I try manipulating the UVRect X or Y, parts of the texture gets cut - probably as intended, but it doesn't do what I need. What I would like is to be able to offset the uvs (I think), via code at runtime.
I'm not going to be doing it every frame, only after certain user-initiated events complete, whereupon I will need to update the texture. Moving or resizing the UITexture itself is not really an option, I just want to offset the image that appears on it (which is tileable of course!).
I've tried looking into customizing the shader, but honestly I'm in over my head on that subject.
Any chance anyone can shine some light on this subject?
Included is a (simplified) example of the actual vs desired results.