IonicWind Software

IWBasic => 3D Programming => Topic started by: pistol350 on June 22, 2008, 08:34:52 AM

Title: 3DSprites questions
Post by: pistol350 on June 22, 2008, 08:34:52 AM
hi all!

It seems to me that 3Dsprites' mask color is white by default.
Does anyone know how to set mask color of 3Dsprites ?
Title: Re: 3DSprites questions
Post by: Ionic Wind Support Team on June 22, 2008, 09:23:40 AM
See the C3DSprite::Load method in the documentation.  The default is to use the alpha channel of the image, you can change it when loading the sprite to a transparency color.

Paul.
Title: Re: 3DSprites questions
Post by: pistol350 on June 22, 2008, 10:38:15 AM
Oops.
I missed that one.
Thank you Paul.