Post

 Resources 

Console


Alpha blend + color key in D3D mateo (2 replies, 0 views) (2001-Jan-7)
-
I just implemented an alpha blending routine in D3D7 for use in conjunction with DDraw. The problem is, when I don't use alpha blend one, the color key doesn't get eliminated and it shows the transparent color. These are the device settings: Dev.SetRenderState D3DRENDERSTATE_ALPHABLENDENABLE, True Dev.SetRenderState D3DRENDERSTATE_SRCBLEND, D3DBLEND_SRCALPHA Dev.SetRenderState D3DRENDERSTATE_DESTBLEND, D3DBLEND_INVSRCALPHA Dev.SetRenderState D3DRENDERSTATE_TEXTUREFACTOR, DX.CreateColorRGBA(1, 1, 1, 0.5) Dev.SetTextureStageState 0, D3DTSS_ALPHAARG1, D3DTA_TFACTOR Any ideas for getting the color key working?


-
Back to Forum

Re: Alpha blend + color key in D3D DavW(DS) (1 reply) (2001-Jan-8)
Yes! Thanks... mateo (0 replies) (2001-Jan-8)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 64 visitors within the last 20 minutes
RSS News Feed