Hi,
I have a texture with some text and images with an aplha channel. (This texture is a render target).
How can I fade the egdes of this texture? Is there a way to render only the aplha channel of a texture on it?
I'm using DirectX 9...
Hi,
I have a texture with some text and images with an aplha channel. (This texture is a render target).
How can I fade the egdes of this texture? Is there a way to render only the aplha channel of a texture on it?
I'm using DirectX 9...
NecroSOFT - End of line -
To render only the alphachannel I think you can do that by doing something like:
Device.SetTextureStageState(0, D3DTSS_COLOROP, D3DTOP_SELECTARG1);
Device.SetTextureStageState(0, D3DTSS_COLORARG1, D3DTA_TEXTURE Or D3DTA_ALPHAREPLICATE);
www.pascalgameengine.com - Crossplatform 3D game engine
I will try it tomorrow, bit late now - I'm just back from a party
NecroSOFT - End of line -
Bookmarks