Home › Forums › TimelineFX Module › DX 11 implementation › Reply To: DX 11 implementation
Thanks Peterigz, this information is just what I needed.
By changing the blend mode from
SrcBlend = D3D11_BLEND_ONE;
DestBlend = D3D11_BLEND_ONE;
BlendOp = D3D11_BLEND_OP_ADD;
SrcBlendAlpha = D3D11_BLEND_ONE;
DestBlendAlpha = D3D11_BLEND_ZERO;
BlendOpAlpha = D3D11_BLEND_OP_ADD;
to
SrcBlend = D3D11_BLEND_SRC_ALPHA;
DestBlend = D3D11_BLEND_ONE;
BlendOp = D3D11_BLEND_OP_ADD;
SrcBlendAlpha = D3D11_BLEND_SRC_ALPHA;
DestBlendAlpha = D3D11_BLEND_ZERO;
BlendOpAlpha = D3D11_BLEND_OP_ADD;
I managed to get this in my test program :
Now that looks a lot like the image the TimeLineFX Editor is rendering.
Explosions also look the same as in TimeLineFX Editor :
I still need to work out the alpha blending as there is big difference in rendering.
TimeLineFX Editor :
My test program :