Hi,
I am trying to scroll texture from center towards edge. For example, for texture containing rings, it should appear as rings are originating from center and moving towards edge.
Please help me out here.
Thanks in advance.
Hi,
I am trying to scroll texture from center towards edge. For example, for texture containing rings, it should appear as rings are originating from center and moving towards edge.
Please help me out here.
Thanks in advance.
Hello SushantIngle1990
This sounds like you need to manipulate the mainTextureOffset.
The example gives you a way to scroll a texture. The centered coords are (0,0). If you scroll in any direction by 0.5 ( which means setting mainTextureOffset to (-0.5,0), (0.5,0), (0,-0.5) or (0, 0.5)) you will scroll the texture in a way that what was in the center, becomes on the edge.