Hi, I've created a lens flare scene node. If you want, you can take a look at it. Link to the file + demo project is in my signature. Any remarks, critics or praisings are welcome
The usage is fairly comprehensive. Just look at the demo project.
The XML file is not really a XML, in that it doesn't have a root element or doctype, but it doesn't really matter. Just follow this pattern for defining your own flares:
<flare texture="texture path" distance="position of the flare" />
Position < 0 => The flare will be behind the position of the light
Position = 0 => The flare will be at the position of the light source
Position > 0 && < 1 The flare will be somewhere between the light source and the centre of the screen
Position = 1 => The flare will reside always at the centre of the screen (I don't recommend this)
Position > 1 => The flare will be behind the centre of the screen
This is my scene node in action
Lens Flare Scene Node for Ya
Hi CZest, i have a suggestion for you, if you are lookinf for new ideas for a new project, you could do a "light scene node" for irrlicht named "light shaft" . It is very beautiful, it is in games like splinter cell, tomb raider,zelda and ICO
link : http://www.ati.com/developer/gdc/Mitche ... Shafts.pdf
I think you can do it do you will think in it??
link : http://www.ati.com/developer/gdc/Mitche ... Shafts.pdf
I think you can do it do you will think in it??