How to set a colorkey in a terrain ?

A forum to store posts deemed exceptionally wise and useful
Post Reply
carlos
Posts: 1
Joined: Wed Jul 27, 2005 1:22 pm
Location: BRAZIL

How to set a colorkey in a terrain ?

Post by carlos »

I have a terrain and I want to put transparent all pixels in black.
How do I do this ?
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post by Spintz »

Code: Select all

videoDriver->makeColorKeyTexture( pTexture, video::SColor(255,0,0,0) );
Image
Post Reply