Page 1 of 1

Lens Flare effect

Posted: Thu Dec 23, 2010 4:45 pm
by snt
Anyone know where can I find a lens flare or flare effect for my map?

Thanks,
snt

Re: Lens Flare effect

Posted: Thu Dec 23, 2010 5:04 pm
by obsidian
I don't know where you would find one, but it's really not hard to roll your own. You'll need a basic .jpg and a shader. For the shader, you'll need:

cull none, deformVertexes autosprite, surfaceparm nonsolid, surfaceparm trans and an additive blend stage for the texture.

Read the shader manual and I'm sure you'll be able to piece it together. That's pretty much all the ingredients for a basic lens flare.

Re: Lens Flare effect

Posted: Thu Dec 23, 2010 6:10 pm
by cityy
inb4 skinmaster comeback.

Re: Lens Flare effect

Posted: Thu Dec 23, 2010 10:35 pm
by Anthem
cityy wrote:inb4 skinmaster comeback.
I hope you realize that his name is copyrighted because it is on this forum. If you attempt to use it you have to contact him first. Otherwise you are taking away his freedom of speech and all that shit.

Re: Lens Flare effect

Posted: Fri Dec 24, 2010 6:18 pm
by obsidian
This forum needs more photos of ravers on ecstasy and crystal meth.