Marking player location on galaxy map Fixed non-input field focus disabling global key map Player start ship is now always the same Loadout generator now demands exact match for item dimensions Thermal damage now triggers ItemDamaged event = player can die from cockpit wear! Properties panel now has a much more attractive UI Implemented curve control for properties UI Centralized number formatting in player settings Moved significant digits to player settings Added temperature unit option in player settings
42 lines
No EOL
1.1 KiB
GLSL
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 }
|
|
}
|
|
}
|
|
} |