mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-15 07:54:35 +01:00
26 lines
540 B
Plaintext
26 lines
540 B
Plaintext
Shader "Particles/Alpha Blended Premultiply" {
|
|
Properties {
|
|
_MainTex ("Particle Texture", 2D) = "white" { }
|
|
_InvFade ("Soft Particles Factor", Range(0.01,3)) = 1
|
|
}
|
|
//DummyShaderTextExporter
|
|
|
|
SubShader{
|
|
Tags { "RenderType" = "Opaque" }
|
|
LOD 200
|
|
CGPROGRAM
|
|
#pragma surface surf Standard fullforwardshadows
|
|
#pragma target 3.0
|
|
sampler2D _MainTex;
|
|
struct Input
|
|
{
|
|
float2 uv_MainTex;
|
|
};
|
|
void surf(Input IN, inout SurfaceOutputStandard o)
|
|
{
|
|
fixed4 c = tex2D(_MainTex, IN.uv_MainTex);
|
|
o.Albedo = c.rgb;
|
|
}
|
|
ENDCG
|
|
}
|
|
} |