Skip to content

Commit

Permalink
Fix PF_Modulated blend mode for D3D11Drv
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jul 22, 2023
1 parent 870aa77 commit 3a9f93d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions D3D11Drv/UD3D11RenderDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ void UD3D11RenderDevice::CreateScenePass()
blendDesc.RenderTarget[0].BlendOpAlpha = D3D11_BLEND_OP_ADD;
blendDesc.RenderTarget[0].SrcBlend = D3D11_BLEND_DEST_COLOR;
blendDesc.RenderTarget[0].SrcBlendAlpha = D3D11_BLEND_DEST_ALPHA;
blendDesc.RenderTarget[0].DestBlend = D3D11_BLEND_INV_SRC_COLOR;
blendDesc.RenderTarget[0].DestBlendAlpha = D3D11_BLEND_INV_SRC_ALPHA;
blendDesc.RenderTarget[0].DestBlend = D3D11_BLEND_SRC_COLOR;
blendDesc.RenderTarget[0].DestBlendAlpha = D3D11_BLEND_SRC_ALPHA;
break;
case 2: // PF_Highlighted
blendDesc.RenderTarget[0].BlendOp = D3D11_BLEND_OP_ADD;
Expand Down

0 comments on commit 3a9f93d

Please sign in to comment.