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.
42 lines
664 B
42 lines
664 B
3 years ago
|
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
|
||
|
|
||
|
Shader "Hidden/KriptoFX/PostEffects/ME_ReplacementPostEffect" {
|
||
|
SubShader{
|
||
|
|
||
|
Pass{
|
||
|
Tags{ "PostEffect" = "Bloom" }
|
||
|
Fog{ Mode Off }
|
||
|
|
||
|
CGPROGRAM
|
||
|
#pragma vertex vert
|
||
|
#pragma fragment frag
|
||
|
#include "UnityCG.cginc"
|
||
|
|
||
|
struct v2f {
|
||
|
float4 pos : POSITION;
|
||
|
#ifdef UNITY_MIGHT_NOT_HAVE_DEPTH_TEXTURE
|
||
|
float2 depth : TEXCOORD0;
|
||
|
#endif
|
||
|
};
|
||
|
|
||
|
v2f vert(appdata_base v) {
|
||
|
v2f o;
|
||
|
o.pos = UnityObjectToClipPos(v.vertex);
|
||
|
UNITY_TRANSFER_DEPTH(o.depth);
|
||
|
return o;
|
||
|
}
|
||
|
|
||
|
half4 frag(v2f i) : COLOR{
|
||
|
return 1;
|
||
|
//UNITY_OUTPUT_DEPTH(i.depth);
|
||
|
}
|
||
|
|
||
|
ENDCG
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Fallback Off
|
||
|
|
||
|
}
|