Ive found a tutorial that was pretty simple and i followed it:
http://www.facepunch.com/threads/1011659
Big thanks to for that tutorial "Austin Shindlecker (Austech)"
But it was pretty slow making it with lines, but it makes really nice look.
Id like to improve performance allot, on these screens i optimized a bit and that light takes about 20% of cpu which will totally crush my game if i make few of those.
Onto something faster i shall search!
Some screens:
I really hoped there is a library / engine that i can just strap onto openGL and get per pixel Light or texture lights but meh, oh well the search continues.
Thank you guys on suggestions but i am unable to build my own light system i just don't have time to study math required.
It is something i will have to do later on, for now i will focus on current project, thank you on the suggestions.
And i someone has a suggestion for a light engine that i can implement with c++ openGL please let me know!