From eb84bb298d2b95aec7b2ae12cbf25ac64f25379a Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Sun, 6 Nov 2022 15:12:42 -0500 Subject: move to self host --- .../Mobile/VRChat-Mobile-Particle-Alpha.shader | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 VRCSDK3Worlds/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Alpha.shader (limited to 'VRCSDK3Worlds/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Alpha.shader') diff --git a/VRCSDK3Worlds/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Alpha.shader b/VRCSDK3Worlds/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Alpha.shader new file mode 100644 index 00000000..60c5a8c6 --- /dev/null +++ b/VRCSDK3Worlds/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Alpha.shader @@ -0,0 +1,43 @@ +// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) + +// Simplified Alpha Blended Particle shader. Differences from regular Alpha Blended Particle one: +// - no Tint color +// - no Smooth particle support +// - no AlphaTest +// - no ColorMask + +Shader "VRChat/Mobile/Particles/Alpha Blended" +{ + Properties + { + _MainTex ("Particle Texture", 2D) = "white" {} + } + + Category + { + Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" } + Blend SrcAlpha OneMinusSrcAlpha + Cull Off + Lighting Off + ZWrite Off + Fog { Color (0,0,0,0) } + + BindChannels + { + Bind "Color", color + Bind "Vertex", vertex + Bind "TexCoord", texcoord + } + + SubShader + { + Pass + { + SetTexture [_MainTex] + { + combine texture * primary + } + } + } + } +} -- cgit v1.2.3-freya