Advertisement

How to make transparent background texture with D3D??

Started by September 06, 2019 06:43 AM
1 comment, last by doug25 5 years, 1 month ago

I'm studying D3D to make 2Dgame.

I'm tried to make a 2D sprite texture with CreateWICTextureFromFile function is in DTK.

But I wanna get transparent background color with that texture but I coulndt find any options to do that 

anybody can help

Take a look at this page https://github.com/microsoft/DirectXTK/wiki/Sprites-and-textures, the cat appears to have a transparent background

Doug

This topic is closed to new replies.

Advertisement