2023-06-17 21:13:48 +02:00
|
|
|
Shader "CrispyPin/uninit"
|
|
|
|
{
|
2023-06-25 18:08:22 +02:00
|
|
|
Properties
|
|
|
|
{
|
|
|
|
}
|
|
|
|
SubShader
|
|
|
|
{
|
|
|
|
Tags { "RenderType"="Transparent" }
|
|
|
|
LOD 100
|
2023-06-17 21:13:48 +02:00
|
|
|
|
2023-06-25 18:08:22 +02:00
|
|
|
Pass
|
|
|
|
{
|
|
|
|
CGPROGRAM
|
|
|
|
#pragma vertex vert
|
|
|
|
#pragma fragment frag
|
2023-06-17 21:13:48 +02:00
|
|
|
|
2023-06-25 18:08:22 +02:00
|
|
|
#include "UnityCG.cginc"
|
2023-06-17 21:13:48 +02:00
|
|
|
|
2023-06-25 18:08:22 +02:00
|
|
|
struct appdata
|
|
|
|
{
|
|
|
|
float4 vertex : POSITION;
|
|
|
|
UNITY_VERTEX_INPUT_INSTANCE_ID
|
|
|
|
};
|
2023-06-17 21:13:48 +02:00
|
|
|
|
2023-06-25 18:08:22 +02:00
|
|
|
struct v2f
|
|
|
|
{
|
|
|
|
float4 vertex : SV_POSITION;
|
|
|
|
UNITY_VERTEX_OUTPUT_STEREO
|
|
|
|
};
|
2023-06-17 21:13:48 +02:00
|
|
|
|
2023-06-25 18:08:22 +02:00
|
|
|
v2f vert (appdata v)
|
|
|
|
{
|
|
|
|
v2f o;
|
|
|
|
UNITY_SETUP_INSTANCE_ID(v);
|
|
|
|
UNITY_INITIALIZE_OUTPUT(v2f, o);
|
|
|
|
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
|
2023-06-17 21:13:48 +02:00
|
|
|
|
2023-06-25 18:08:22 +02:00
|
|
|
o.vertex = UnityObjectToClipPos(v.vertex);
|
|
|
|
return o;
|
|
|
|
}
|
|
|
|
|
|
|
|
fixed4 frag (v2f i) : SV_Target
|
|
|
|
{
|
|
|
|
fixed4 col;
|
|
|
|
col.a = 0.5f;
|
|
|
|
return col;
|
|
|
|
}
|
|
|
|
ENDCG
|
|
|
|
}
|
|
|
|
}
|
2023-06-17 21:13:48 +02:00
|
|
|
}
|