HeavenStudioPlus/Assets/Plugins/com.unity.uiextensions/Runtime/Resources/Shaders/UI Particle VertexLit Blended.shader
2022-01-05 19:11:33 -05:00

42 lines
No EOL
1.1 KiB
GLSL

Shader "UI Extensions/Particles/VertexLit Blended" {
Properties {
_EmisColor ("Emissive Color", Color) = (.2,.2,.2,0)
_MainTex ("Particle Texture", 2D) = "white" {}
_StencilComp ("Stencil Comparison", Float) = 8
_Stencil ("Stencil ID", Float) = 0
_StencilOp ("Stencil Operation", Float) = 0
_StencilWriteMask ("Stencil Write Mask", Float) = 255
_StencilReadMask ("Stencil Read Mask", Float) = 255
_ColorMask ("Color Mask", Float) = 15
[Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0
}
SubShader {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" "CanUseSpriteAtlas"="True" }
Tags { "LightMode" = "Vertex" }
Cull Off
Lighting On
Material { Emission [_EmisColor] }
ColorMaterial AmbientAndDiffuse
ZWrite Off
ColorMask RGB
Blend SrcAlpha OneMinusSrcAlpha
Stencil
{
Ref [_Stencil]
Comp [_StencilComp]
Pass [_StencilOp]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
}
Pass {
SetTexture [_MainTex] { combine primary * texture }
}
}
}