Blending
The Blending section defines how the shader should blend on top of pixels that are already drawn. These options are set by the Rendering Preset selected at the top of the shader, and almost always need not be set manually.
These blend options are exposed separately for the base pass and the add pass, as the add pass needs to blend on top of the base pass.
Outline Blending will also be visible here containing the same settings as described here. This allows you to control the Blending operator of the Outlines separate from the base Blending.
RGB Blend Op
Type
: Dropdown, Options:Add
/Subtract
/ReverseSubtract
/Min
/Max
/LogicalClear
/LogicalSet
/LogicalCopy
/LogicalCopyInverted
/LogicalNoop
/LogicalInvert
/LogicalAnd
/LogicalNand
/LogicalOr
/LogicalNor
/LogicalXor
/LogicalEquivalence
/LogicalAndReverse
/LogicalAndInverted
/LogicalOrReverse
/LogicalOrInverted
Which blend operator to use for the RGB channels. This is almost always set to Add
. See the Unity Documentation for more information.
RGB Source Blend
Type
: Dropdown, Options:Zero
/One
/DstColor
/SrcColor
/OneMinusDstColor
/SrcAlpha
/OneMinusSrcColor
/DstAlpha
/OneMinusDstAlpha
/SrcAlphaSaturate
/OneMinusSrcAlpha
Which blend factors to use for the source. See the Unity Documentation and Rendering Presets page for more information.
RGB Destination Blend
Type
: Dropdown, Options:Zero
/One
/DstColor
/SrcColor
/OneMinusDstColor
/SrcAlpha
/OneMinusSrcColor
/DstAlpha
/OneMinusDstAlpha
/SrcAlphaSaturate
/OneMinusSrcAlpha
Which blend factors to use for the destination. See the Unity Documentation and Rendering Presets page for more information.
Advanced Alpha Blending
These settings below control the Alpha of the Blending operation.
Alpha Blend Op
Type
: Dropdown, Options:Add
/Subtract
/ReverseSubtract
/Min
/Max
/LogicalClear
/LogicalSet
/LogicalCopy
/LogicalCopyInverted
/LogicalNoop
/LogicalInvert
/LogicalAnd
/LogicalNand
/LogicalOr
/LogicalNor
/LogicalXor
/LogicalEquivalence
/LogicalAndReverse
/LogicalAndInverted
/LogicalOrReverse
/LogicalOrInverted
What blend op to use for the Alpha channel. This is typically set by the Rendering Preset. See the Unity Documentation for more information.
Alpha Source Blend
Type
: Dropdown, Options:Zero
/One
/DstColor
/SrcColor
/OneMinusDstColor
/SrcAlpha
/OneMinusSrcColor
/DstAlpha
/OneMinusDstAlpha
/SrcAlphaSaturate
/OneMinusSrcAlpha
Which blend factors to use for the Alpha source. See the Unity Documentation and Rendering Presets page for more information.
Alpha Destination Blend
Type
: Dropdown, Options:Zero
/One
/DstColor
/SrcColor
/OneMinusDstColor
/SrcAlpha
/OneMinusSrcColor
/DstAlpha
/OneMinusDstAlpha
/SrcAlphaSaturate
/OneMinusSrcAlpha
Which blend factors to use for the Alpha destination. See the Unity Documentation and Rendering Presets page for more information.