核心代码
fixed4 frag(v2f i) : COLOR
{
fixed4 col = tex2D(_MainTex,i.uv)*_Brightness;
fixed3 BumpMap = UnpackNormal(tex2D(_Bump, i.uv));
fixed3 N = normalize(mul(BumpMap.rgb, i.tangentTransform));
fixed3 V = -normalize(UnityObjectToViewPos(i.posWorld));
fixed3 LOne = normalize (-_LightDirOne);//自定义一个方向代替真实灯光
&nbs