Hi there, Im having a problem with a spotlight that lose gradually his resolution when are moved far from his starting point.
Look at the image. In the first, im near the starting scene point. In the second, I travel 1000 Unity units far from the starting point, and now the spotlight shows like low res.
If I travel back to the starting point, the light return to look good.
This captures are from android build, running on Samsung Nexus 10 tablet. On Unity editor the graphics looks good.
For the scenary (streets), I’m using this custom shader modified by me. I think the problem may be here.
Shader "MobileConPixelLight" {
Properties{
_MainTex("Base (RGB)", 2D) = "white" {}
}
SubShader{
Tags{ "RenderType" = "Opaque" }
LOD 200
CGPROGRAM
#pragma surface surf Lambert
sampler2D _MainTex;
struct Input {
float2 uv_MainTex;
};
void surf(Input IN, inout SurfaceOutput o) {
fixed4 c = tex2D(_MainTex, IN.uv_MainTex);
o.Albedo = c.rgb;
o.Alpha = c.a;
}
ENDCG
}
Fallback "Diffuse"
}
Any clue? Thanks.