You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
599 B
Plaintext
28 lines
599 B
Plaintext
Shader "Suimono2/Suimono2_FX_ShorelineObject" {
|
|
|
|
Properties {
|
|
_MainTex ("Base (RGB)", 2D) = "white" {}
|
|
}
|
|
|
|
SubShader {
|
|
Pass {
|
|
Tags{"Queue"="Overlay"}
|
|
Cull Off
|
|
|
|
CGPROGRAM
|
|
#pragma vertex vert_img
|
|
#pragma fragment frag
|
|
#include "UnityCG.cginc"
|
|
|
|
uniform sampler2D _MainTex;
|
|
float4 _Mult;
|
|
|
|
fixed4 frag(v2f_img i) : SV_Target {
|
|
return tex2D(_MainTex, i.uv*_Mult.xy+_Mult.zw);
|
|
}
|
|
ENDCG
|
|
|
|
}
|
|
}
|
|
}
|