diff options
| author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-06 15:12:42 -0500 |
|---|---|---|
| committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-06 15:12:42 -0500 |
| commit | eb84bb298d2b95aec7b2ae12cbf25ac64f25379a (patch) | |
| tree | efd616a157df06ab661c6d56651853431ac6b08b /VRCSDK3AvatarsQuestLegacy/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Add.shader | |
| download | unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.gz unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.bz2 unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.zip | |
move to self host
Diffstat (limited to 'VRCSDK3AvatarsQuestLegacy/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Add.shader')
| -rw-r--r-- | VRCSDK3AvatarsQuestLegacy/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Add.shader | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/VRCSDK3AvatarsQuestLegacy/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Add.shader b/VRCSDK3AvatarsQuestLegacy/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Add.shader new file mode 100644 index 00000000..3e7cce34 --- /dev/null +++ b/VRCSDK3AvatarsQuestLegacy/Assets/VRCSDK/Sample Assets/Shaders/Mobile/VRChat-Mobile-Particle-Add.shader @@ -0,0 +1,43 @@ +// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) + +// Simplified Additive Particle shader. Differences from regular Additive Particle one: +// - no Tint color +// - no Smooth particle support +// - no AlphaTest +// - no ColorMask + +Shader "VRChat/Mobile/Particles/Additive" +{ + Properties + { + _MainTex ("Particle Texture", 2D) = "white" {} + } + + Category + { + Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" } + Blend SrcAlpha One + 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 + } + } + } + } +} |