HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Blending Glows

08-28-2003, 02:53 PM#1
TheProphet
Hello,

Now that I have understood how replaceable IDs were working, I have a blending problem in OpenGL : which blending method should I use since the glows don't have any alpha channel ?

Here is the problem :

Front view, it works :


Problem :


In fact, only one is displayed : it is not really transparent
08-28-2003, 07:14 PM#2
KDEWolf
It must be Additive (that adds the colors and consider's black as transparent, pretty much like Screen method from photoshop). I'm not sure about how it would be called specifically if not that.

Example of glow on MDL:
Code:
	Material {
		ConstantColor,
		Layer {
			FilterMode Additive,
			Unshaded,
			TwoSided,
			static TextureID 4,
		}
	}
08-28-2003, 10:48 PM#3
TheProphet
Hehehe that is an answer as we could say in french "totalement à côté de la plaque", that is to say : it does not answer at all to the question !

I already know that additive blending is needed, but my question was : which glBlendFunc should I use ?

Anyway thank you for responding, since you are the ONLY one who answered this post; I have found the answer alone.
That is totally hallucinating to see how people can be eager to get a new version of the tool, or to annoy you on nothing like a version number, a default quality that a person is too lazy to change each time she wants to convert, or a noob spamming you because he sent you dozens of mails explaining you that he does not know how to remove the read only attribute of a file.
To translate another french phrase : you are the only who is the best in helping you.


Edit : I can deduce another thing : the only OpenGL guru here is me :ggani:
08-28-2003, 11:07 PM#4
nicoli_s
i know opengl, but i havent worked with it in abotu 6 months so im a lil rusty
08-28-2003, 11:09 PM#5
TheProphet
Don't take it for a personal stroke... I was just antsy that nobody answered the post, OpenGL speaking
08-29-2003, 06:55 PM#6
KDEWolf
Oh I see what you meant. Ah no problem, I tried =\ I don't think we have many programmers here in Wc3c other than some admins and hackers lying out there...