源战役客户端
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 

64 líneas
840 B

Shader "SuYou/unlit_instanced" {
Properties {
_MainTex ("Base", 2D) = "white" {}
}
CGINCLUDE
sampler2D _MainTex;
ENDCG
SubShader {
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
Blend SrcAlpha OneMinusSrcAlpha
ZWrite Off
Pass {
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "UnityCG.cginc"
struct appdata_t {
float4 vertex : POSITION;
float2 texcoord : TEXCOORD0;
};
struct v2f
{
half4 pos : SV_POSITION;
half2 uv : TEXCOORD0;
};
v2f vert (appdata_t v)
{
v2f o;
o.pos = UnityObjectToClipPos (v.vertex);
o.uv = v.texcoord;
return o;
}
fixed4 frag (v2f i) : COLOR0
{
fixed4 tex = tex2D (_MainTex, i.uv);
return tex;
}
ENDCG
}
}
FallBack Off
}