help understainding how to do chroma keying with Ogre3d

Problems building or running the engine, queries about how to use features etc.
Post Reply
OmegaRedIsDMan
Gnoblar
Posts: 3
Joined: Sun Jun 26, 2005 6:51 pm

help understainding how to do chroma keying with Ogre3d

Post by OmegaRedIsDMan »

Hi,
I have searched the forum and found some posts about doing Chroma Keying with Ogre3d but it is still not clear to me how to do it. Can anyone explain how to set up a material script that lets me specify a certain rgb color value to use as the transparent color in a texture?

Thanks
-DMan
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark
Contact:

Post by DWORD »

It's not possible really, unless you use shaders or modify your textures dynamically. You're better off saving your textures in a format containing an alpha channel.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

Colour keying went out with palettised textures and other dinosaur techniques ;) Alpha channels are in.
OmegaRedIsDMan
Gnoblar
Posts: 3
Joined: Sun Jun 26, 2005 6:51 pm

Post by OmegaRedIsDMan »

Thank you both for the quick reply. I guess I was stuck in GBA dev mentality ;)
-DMan
Post Reply