You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

69 lines
1.3 KiB

Shader /*ase_name*/ "Hidden/Templates/Unlit" /*end*/
{
Properties
{
/*ase_props*/
}
SubShader
{
Tags { "RenderType"="Opaque" }
LOD 100
/*ase_all_modules*/
/*ase_pass*/
Pass
{
Name "Unlit"
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_instancing
#include "UnityCG.cginc"
/*ase_pragma*/
struct appdata
{
float4 vertex : POSITION;
UNITY_VERTEX_INPUT_INSTANCE_ID
/*ase_vdata:p=p*/
};
struct v2f
{
float4 vertex : SV_POSITION;
/*ase_interp(0,):sp=sp.xyzw*/
UNITY_VERTEX_OUTPUT_STEREO
UNITY_VERTEX_INPUT_INSTANCE_ID
};
/*ase_globals*/
v2f vert ( appdata v /*ase_vert_input*/)
{
v2f o;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
UNITY_TRANSFER_INSTANCE_ID(v, o);
/*ase_vert_code:v=appdata;o=v2f*/
v.vertex.xyz += /*ase_vert_out:Local Vertex;Float3*/ float3(0,0,0) /*end*/;
o.vertex = UnityObjectToClipPos(v.vertex);
return o;
}
fixed4 frag (v2f i /*ase_frag_input*/) : SV_Target
{
UNITY_SETUP_INSTANCE_ID(i);
fixed4 finalColor;
/*ase_frag_code:i=v2f*/
finalColor = /*ase_frag_out:Frag Color;Float4*/fixed4(1,1,1,1)/*end*/;
return finalColor;
}
ENDCG
}
}
CustomEditor "ASEMaterialInspector"
}