Well, im trying to alphablend a texture.. which is attached to this post, basically, what im trying to do is:
Make the green transparent
Make the grey translucent
Make the black opaque
So far ive managed to make the green transparent and make the grey AND black translucent..
Heres the code i used to set the texture stages:
Im trying to figure out how to make only the black opaque.. any help would be appreciatedCode:g_Device->SetTextureStageState(0, D3DTSS_ALPHAOP, D3DTOP_MODULATE); g_Device->SetTextureStageState(0, D3DTSS_ALPHAARG1, D3DTA_TEXTURE); g_Device->SetTextureStageState(0, D3DTSS_ALPHAARG2, D3DTA_DIFFUSE);
I also attached a picture of what it currently looks like...