what exactly does additive do
Post Reply
Quote
Re: what exactly does additive do
Posted by warlord on Thu Sep 11th at 2:58am 2003


as it appeard or seemed to appear in kungfusquirel's electric beam tut does additive make any texture (with black in it) fade the black part out and the bright parts glow?????

does it do any other neat tricks





Quote
Re: what exactly does additive do
Posted by Gorbachev on Thu Sep 11th at 3:27am 2003


Not really. But it can be used on sprites as well. [addsig]



Quote
Re: what exactly does additive do
Posted by Tracer Bullet on Thu Sep 11th at 5:22am 2003


I believe "additive" causes the engine to add the color of each pixel of the object being rendered to whatever is behind it, which would naturaly make black dissapear...

[addsig]




Quote
Re: what exactly does additive do
Posted by Orpheus on Thu Sep 11th at 8:41am 2003


this is just a shot in the "dark"

but in my limited experience with additive, it makes a texture sort of glow, or seem brighter that any other render mode ..

if you were to use a lava liquid texture, and set it to any other mode, it would be a dim sort of fluid, but additive makes it appear hotter, more glowy..

well as i said, its just a thought..

[addsig]




Quote
Re: what exactly does additive do
Posted by Monqui on Thu Sep 11th at 12:17pm 2003


Nah, I think Tracer is right (for the most part- not sure thats how it works or not) but additive mostly makes black on a texture/sprite become transparent.



Quote
Re: what exactly does additive do
Posted by Gollum on Thu Sep 11th at 12:52pm 2003


They're both right.

Additive literally adds the RGB values of a sprite to whatever is visible behind it.  In the case of black, this value is "0 0 0", effectively causing the black parts of a sprite to disappear and the dark parts to fade out.

But this effect is not adjusted by lighting, meaning that in a dark area the bright parts of an addivtive sprite will appear to glow (even in a totally black area, "0 0 0" + "255 255 255" = "255 255 255", i.e. pure white).





Quote
Re: what exactly does additive do
Posted by Kapten Ljusdal on Sun Sep 14th at 1:05pm 2003


I have never seen 3 correct answers before



Quote
Re: what exactly does additive do
Posted by LAzerMANiac on Thu Oct 2nd at 1:47am 2003


i had this incindent where i put an env_sprite and a light  in the same very spot. the light was 255 255 255 and the sprite was exit1.spr. the walls in the final map glowed with green-orange, aka the color of the sprite. i guess the color addition works with lights, too...

[addsig]




Quote
Re: what exactly does additive do
Posted by Gollum on Thu Oct 2nd at 9:46am 2003


That would surprise me a great deal



Quote
Re: what exactly does additive do
Posted by half-dude on Tue Oct 7th at 5:07pm 2003


It is a setting that makes a sprite with a black background not have the black background, but you have to tell it how invisible to make the black. [addsig]




Post Reply