Shader Not Tiling Texture.
Guys Can someone please assist me in looking why I can't get the texture to tile. I used this to bend the objects in the world. Only problem is is doesn't tile. :(
Regards
 Shader "Custom/Curved" {
     Properties {
         _Color ("Color", Color) = (1,1,1,1)
         _MainTex ("Albedo (RGB)", 2D) = "white" {}
         _QOffset ("Offset", Vector) = (0,0,0,0)
         _Dist ("Distance", Float) = 100.0
          _BrightnessAdd ("Brightness", Float) = 5.0
     }
     SubShader {
         Tags { "RenderType"="Opaque" }
         //LOD 200
         Pass
         {
             CGPROGRAM
             #pragma vertex vert
             #pragma fragment frag
             #include "UnityCG.cginc"
 
             sampler2D _MainTex;
             float4 _QOffset;
             float _Dist;
             fixed4 _Color;
             float _BrightnessAdd;
             
             
             struct v2f {
             
                 float4 pos : SV_POSITION;
                 float4 uv : TEXCOORD0;
             };
 
             v2f vert (appdata_base v)
             {
                 v2f o;
                 float4 vPos = mul (UNITY_MATRIX_MV, v.vertex);
                 float zOff = vPos.z/_Dist;
                 vPos += _QOffset*zOff*zOff;
                 o.pos = mul (UNITY_MATRIX_P, vPos);
                 o.uv = v.texcoord;
                
                  
                 return o;
             }
 
             half4 frag (v2f i) : COLOR
             {
                 half4 col = tex2D(_MainTex, i.uv.xy)* _Color;
                 
                  col *= UNITY_LIGHTMODEL_AMBIENT*_BrightnessAdd;
                 return col;
             }
             ENDCG
             
         }
     }
     FallBack "Diffuse"
 }
 
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                