How can I achieve this lighting with OpenGL?

Posted by Smallbro on Game Development See other posts from Game Development or by Smallbro
Published on 2012-10-20T23:32:51Z Indexed on 2012/10/21 5:28 UTC
Read the original article Hit count: 193

Filed under:
|
|

I'm currently trying to implement a type of "smooth" lighting. How can I achieve lighting which looks like this:

http://dl.dropbox.com/u/1668516/concept/warp3.png

Using OpenGl. I've attempted to use blending modes and have come very close to making it work but it came out like this: https://pbs.twimg.com/media/A1071viCEAAlFmJ.png

and I also wasn't able to change the alpha of the black background which I want to be able to do.

Could I get a few pointers in the right direction?

© Game Development or respective owner

Related posts about java

Related posts about lighting