Skip to main content
gamedev.net
🔒 Locked

D3DXSprite

Started by beginner_directx Dec 25, 2001 at 12:44 PM 1 replies 150+ views
Original Post
beginner_directx
beginner_directx
hi does anyone know how to make a certain color hidden , with D3DXSprite look to this image , I want the pink color not to appear . image thanx in advance
http://uae-arts.host.sk
DrunkenHyena
DrunkenHyena
G''day!

When you load the image using D3DXCreateTextureFromFileEx there is a colour key parameter. Set the colour key to the pink colour, and it will be set as transparent.


Stay Casual,

Ken
Drunken Hyena
Stay Casual,KenDrunken Hyena</FON
beginner_directx
beginner_directx
thanx DrunkenHyena
You can reply here
http://gamedev.net/community/forums/topic.asp?topic_id=72189
http://uae-arts.host.sk

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.