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.

DarkBASIC Professional Discussion / Negative Alphablending

Author
Message
Hamish McHaggis
23
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 17th Oct 2003 22:36
I know normal ghosting makes objects so that the darker they are, the more transparent they are, but I'm not quite sure what negative alphablending/ghosting does, it seems to behave quite weirdly. Anyone have an answer?

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 18th Oct 2003 02:44
I think it does exactly the reverse .

--Mouse: Famous (Avatarless) Fighting Furball

A very nice %it, indeed.
Hamish McHaggis
23
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 18th Oct 2003 21:09
Well, thats kind of it I think, except the white is most transparent when the colour is (127,127,127), ie. half black, half white. Also when you fade ghosted objects to 0, they disappear, whereas negative ghosted objects become more solid, which is annoying as I need black smoke that fades away. I could use set alpha mapping but it isn't as fast.

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 18th Oct 2003 21:52 Edited at: 18th Oct 2003 21:52
Why not use positive ghosting with dark smoke against a black background that fades into black then?

--Mouse: Famous (Avatarless) Fighting Furball

A very nice %it, indeed.
Hamish McHaggis
23
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 19th Oct 2003 01:11
??

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM

Login to post a reply

Server time is: 2026-07-26 09:30:42
Your offset time is: 2026-07-26 09:30:42