Skip to main content
gamedev.net
🔒 Locked

Transparent Texture D3DIM

Started by Harvester 0 replies 450+ views
Original Post
Harvester
Harvester
i want some part of my texture transparent. I know that when in RM, setting source color key is enough. Yet this doesn''t seem to work with IM. What should i do to get a part of the texture transparent? Thanks.
... LEMMINGS ... LEMMINGS ... LEMMINGS ... LEM..... SpLaSh!...Could this be what we stand like before the mighty One?Are we LeMmIngS or WhAt!? ;)
MrSnow
MrSnow
Hi...

In IM you also can use color key of texture (of the texture surface)...

You need to set up render state :

SetRenderState (D3DRENDERSTATE_COLORKEYENABLE, true);

but color keying in 3d must be supported by VideoCard (for hardware, in software it''s emulating by Windows)...



=============================
Denis "Mr.Snow" Kozhukhov
CEO & Lead programmer
Choco Snow Creation
dkcscPortal
=============================
=============================Denis "Mr.Snow" KozhukhovCEO & Lead programmerChoco Snow CreationdkcscPortal=============================

Topic Locked

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

Sign in to reply to this topic.