Original Post
Hi, so I'm trying to put some lensflare into my application, and stumbled apon a nice tutorial on it here: http://www.gamedev.net/reference/articles/article813.asp however I've stumbled at the first hurdle (and the example program on the page is a broken link :/ ). How do I get the position of the light in screen coordinates? My first thought was to create a vector from the camera position and where it's looking, then do a sort of backwards picking job on the light source.