COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN
COPYRIGHT 2016 @ UNITY TECHNOLOGIES JAPAN
-JHIU1SPCF1SPYZ7PMVNF
˖ سًُؗٝز罋חIUUQTEPDTVOJUZEDPN.BOVBMDMBTT-JHIU1SPCF1SPYZ7PMVNFIUNM
㼎䘔ׇׁחכ
v2f vert (appdata_t v)
{
v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
o.worldNormal = UnityObjectToWorldNormal(v.normal);
o.worldPos = mul(unity_ObjectToWorld, v.vertex).xyz;
o.color = v.color;
o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex);
UNITY_TRANSFER_FOG(o,o.vertex);
return o;
}
fixed4 frag (v2f i) : SV_Target
{
half3 currentAmbient = half3(0, 0, 0);
half3 ambient = ShadeSHPerPixel(i.worldNormal, currentAmbient, i.worldPos );
fixed4 col = _TintColor * i.color * tex2D(_MainTex, i.texcoord);
col.rgb += ambient;
UNITY_APPLY_FOG_COLOR(i.fogCoord, col, fixed4(0,0,0,0)); // fog towards black due to our blend mode
return col;
}
ٙ٦ٕسדך岀简ה䏟垥⥂䭯׃גֶֻ
ַ㹀纏幥ך⦼@0CKFDU8PSMEכ
[email protected]ח㢌刿חזךד岣䠐
֮הכꟼ侧4IBEF4)1FS1JYFMח״ג岀简ך倯ぢה䏟垥הח
ؕٓ٦锃侭ֽׅ
⸬卓ַָחַֻBNCJFOUـ٦أزׇׁגְְַ