PDA

View Full Version : LensFlares



stryx
04-29-2002, 01:36 PM
HI, I've got some problems getting an Lenseflare on my screen.

The way I do it:

x,y,z is lightposition


gluProtect(...);
gl..(Ortho);
glEnable(GL_BLEND);
Draw Texture there

This should work , or not ?
Well I can't see my Lensflare.
Is the way I'm doing it right ??
Thanks anyway, stryx

Old GLman
04-29-2002, 03:55 PM
Im interested in this also. If anybody has some good input about it, I would love to hear it.

Old GLman

05-03-2002, 03:03 AM
There's a tutorial at www.gamedev.net (http://www.gamedev.net)
Enjoy !