I can’t figure out why this is doing this. Basically I have the two tunnels scrolling from the TunnelRunner example and I have modified it so the level doesn’t reload. However over time my texture degrades in quality.
To show you what I mean here are some images(sorry for the small size I didn’t want to give away too much of my game)
Initially:
Later:
All I am doing to scroll the tunnels is offsetting the texture:
offset = Time.time * scrollSpeed;
renderer.material.SetTextureOffset ("_MainTex", Vector2(offset, offset));
renderer.material.renderQueue = 3000;
Things I’ve already tried:
1)Disabled everything looking for memory leaks.
2)Different forms of texture compression
3)Recoded it to use time.deltatime instead, in case the time variable became too large, and reset the texture offset every few minutes
4)stop and starting the texture
5)Messing around with the render queue
Nothing seems to work, any suggestions?