Guest User

Untitled

a guest
Jan 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. blendState.RenderTarget[0].BlendEnable = TRUE;
  2. blendState.RenderTarget[0].RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL;
  3. blendState.RenderTarget[0].SrcBlend = D3D11_BLEND_ONE;
  4. blendState.RenderTarget[0].DestBlend = D3D11_BLEND_ONE;
  5. blendState.RenderTarget[0].BlendOp = D3D11_BLEND_OP_ADD;
  6. blendState.RenderTarget[0].SrcBlendAlpha = D3D11_BLEND_ONE;
  7. blendState.RenderTarget[0].DestBlendAlpha = D3D11_BLEND_ONE;
  8. blendState.RenderTarget[0].BlendOpAlpha = D3D11_BLEND_OP_ADD;
  9. blendState.RenderTarget[1].BlendEnable = TRUE;
  10. blendState.RenderTarget[1].RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL;
  11. blendState.RenderTarget[1].SrcBlend = D3D11_BLEND_ONE;
  12. blendState.RenderTarget[1].DestBlend = D3D11_BLEND_ONE;
  13. blendState.RenderTarget[1].BlendOp = D3D11_BLEND_OP_ADD;
  14. blendState.RenderTarget[1].SrcBlendAlpha = D3D11_BLEND_ONE;
  15. blendState.RenderTarget[1].DestBlendAlpha = D3D11_BLEND_ONE;
  16. blendState.RenderTarget[1].BlendOpAlpha = D3D11_BLEND_OP_ADD;
Add Comment
Please, Sign In to add comment