Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 16th Sep 2009 21:33
How do you get a texture that you have applied to an emitter use its alpha channel so some parts of it is transparent.

Thankyou.

life is short but so am i
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 16th Sep 2009 21:48
make sure its png type.

Dark Physics makes any hot drink go cold.
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 16th Sep 2009 22:09
Doesnt matter now figured out ill give the answer for further people

Answer: Make the alpha channel black and set "ghost object on(obj number),0" and that will make the black part turn transparent.

life is short but so am i
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 16th Sep 2009 23:17
one way or you could use SET OBJECT TRANSPARENCY Object Number, Flag

Dark Physics makes any hot drink go cold.
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 18th Sep 2009 02:26
It goes completely transparent if you use that.

life is short but so am i
NickH
15
Years of Service
User Offline
Joined: 19th May 2008
Location: Nova Prospekt, North Yorks, UK
Posted: 1st Oct 2009 19:41
Though I've not got round to using the particle side of things yet, PNG and TGA file save their alpha channel within the file. This works with most things I've ever tried with DarkBASIC. Worth a try!

Login to post a reply

Server time is: 2024-04-20 10:31:13
Your offset time is: 2024-04-20 10:31:13