Skip to content

Commit

Permalink
Light Scattering FX: use BS_AdditiveBlend from Common States
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Sep 14, 2023
1 parent b08fd3e commit ad12b14
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,23 +140,6 @@ static const DepthStencilStateDesc DSS_StencilEqKeepStencil =
COMPARISON_FUNC_EQUAL // StencilFunc
}
};

static const BlendStateDesc BS_AdditiveBlend =
{
False, // AlphaToCoverageEnable
False, // IndependentBlendEnable
RenderTargetBlendDesc
{
True, // BlendEnable
False, // LogicOperationEnable
BLEND_FACTOR_ONE, // SrcBlend
BLEND_FACTOR_ONE, // DestBlend
BLEND_OPERATION_ADD, // BlendOp
BLEND_FACTOR_ONE, // SrcBlendAlpha
BLEND_FACTOR_ONE, // DestBlendAlpha
BLEND_OPERATION_ADD // BlendOpAlpha
}
};
// clang-format on

static void RenderFullScreenTriangle(IDeviceContext* pDeviceContext,
Expand Down

0 comments on commit ad12b14

Please sign in to comment.